summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/common/Resource.py
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21migrate to boost::gettextCaolán McNamara1-55/+0
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-05-21expand and drop python getResArrayCaolán McNamara1-10/+0
Change-Id: Ie81495a15376b01b0e87ee84628b8c6945897a3d Reviewed-on: https://gerrit.libreoffice.org/37877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-13pywizards: use getResArray insteadXisco Fauli1-1/+0
Change-Id: I5afd7ad90c23e99be9b3cf81487da6bd7715b416
2014-02-13pywizards: remove unused codeXisco Fauli1-6/+4
Change-Id: I174ec6a1d307486d38ba4b98a5a158259c57151d
2014-01-24pywizards: update callRemote methodsXisco Fauli1-1/+2
Change-Id: Id4a335b19f48738d0f2a02e3660e57701bbc7ef2
2013-11-24pywizards: Some more pyflakes loveXisco Fauli1-1/+0
Change-Id: I3da78c004068cd7306ef79f5d019ab5bf07cac0b
2012-11-26pywizards: No need to use unicodedata hereXisco Fauli1-1/+1
Change-Id: I30eb17dd740978e2ce03ada0ec11a4db65205f41
2012-11-21pyfax: exceptions are python3 compatibleXisco Fauli1-3/+3
Change-Id: Ife2a935b25928db154756494798a5e9b619f902a
2012-10-16pywizards: cleanup common codeXisco Fauli1-5/+2
Change-Id: I6e64ec407326b5759664ace286eb67b2c6cd3b04
2012-10-15pyletter: Remove unused codeXisco Fauli1-10/+0
Change-Id: I9ca05a152430b3fa61286ba521d37569be5b16a0
2012-09-24pywizards: get rid of import * (3)Xisco Fauli1-6/+0
Change-Id: Ibf7c6fc7863b6eccb28e5396587f2ec00ffcbe43
2012-09-24pyfax: Use relative imports so we can call the wizard remotelyXisco Fauli1-2/+2
Change-Id: I8ed98ff5125caf28680f94865ab2fe122f124182 Reviewed-on: https://gerrit.libreoffice.org/683 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-08-09Others duplicated linesJulien Nabet1-1/+0
Change-Id: Ief9589bd3ab0d4fd359dc18f85063dece29f4833
2012-07-18re-base on ALv2 code. Includes:Michael Meeks1-0/+18
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2011-12-05Set the python fax wizard as the default oneXisco Fauli1-0/+70
2011-09-24Remote the python code for now.Xisco Fauli1-69/+0
The reason I delete it is because this code is not used yet. I still keep working in the feature branch, so when i'll finish there i'll merge it into master. It doesn't make sense to have it in master for now
2011-07-07Show wizard dialog on topXisco Fauli1-1/+0
2011-06-15Line length <= 80Xisco Fauli1-7/+11
2011-06-07initial commit with migration of wizards to pythonXisco Faulí1-0/+66