summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 18:47:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 18:54:59 +0900
commitf90d0d150163beb546e78c52786d6c2eb7706e8d (patch)
treec865d92ed8a93bdedab7c5fe3fd40269f63d4ab8 /src/lib/elementary/elm_widget.eo
parenta2729d119d941090eed0148074f6da5eb638b720 (diff)
widget: Simplify & document "translate"
This is a protected function. It doesn't need to return anything, as all implementation just returned true, always. Also, the legacy API was just a wrapper doing nothing special (except verify that we have a widget, which the recursive code already does). Tested with fr_FR :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.eo')
-rw-r--r--src/lib/elementary/elm_widget.eo9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 64560f1695..7beafe85c2 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -279,9 +279,12 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
279 279
280 /* Translation & Text API. */ 280 /* Translation & Text API. */
281 translate @protected { 281 translate @protected {
282 [[Virtual function handling language changes.]] 282 [[Virtual function handling language changes.
283 return: bool; [[$true on success, $false otherwise]] 283
284 legacy: null; 284 If a widget is composed of multiple sub-objects, this function might
285 need to be reimplemented to translate all those sub-objects that
286 have visible (or accessible) translatable text.
287 ]]
285 } 288 }
286 @property domain_part_text_translatable { 289 @property domain_part_text_translatable {
287 [[Translate domain text part property]] 290 [[Translate domain text part property]]