office-gobmx/wizards/source/sfdialogs
Jean-Pierre Ledure 552a1f30ec ScriptForge - add AddTextsFromDialog and GetTextsFromL10N methods
The objective is to facilitate the automatic translation of
all fixed texts in dialogs and dialog controls.

Concerned items are:
- the title of the dialog
- the caption associated with next control types:
  Button, CheckBox, FixedLine, FixedText, GroupBox and RadioButton
- the content of list- and comboboxes
- the tip- or helptext displayed when the mouse is hovering the
  control

ScriptForge.SF_L10N.AddTextsFromDialog(dialog)
  store all fixed texts of the dialog in the list of translatable
  strings of a L10N object to prepare a POT file

SFDialogs.Dialog.GetTextsFromL10N(l10n)
  get the translated versions of all fixed texts in the dialog from
  a L10N object and apply them on the dialog before display

Both methods are executable from Basic and Python user scripts

Change-Id: I3dc9fbbce287d7af4040df713f9d11e0ff928b1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121514
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-09-03 14:53:27 +02:00
..
__License.xba
dialog.xlb
script.xlb
SF_Dialog.xba ScriptForge - add AddTextsFromDialog and GetTextsFromL10N methods 2021-09-03 14:53:27 +02:00
SF_DialogControl.xba ScriptForge - add AddTextsFromDialog and GetTextsFromL10N methods 2021-09-03 14:53:27 +02:00
SF_DialogListener.xba
SF_Register.xba ScriptForge - add AddTextsFromDialog and GetTextsFromL10N methods 2021-09-03 14:53:27 +02:00