summaryrefslogtreecommitdiff
path: root/extensions/AllLangResTarget_scn.mk
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21migrate to boost::gettextCaolán McNamara1-31/+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
2014-08-18these strings should be translatableCaolán McNamara1-0/+31
so bring back scn.res and add them in there Change-Id: I378d64f524c64295d26223f54fe17950b475cd80
2014-06-12scn resource file is empty now post ui-ificationCaolán McNamara1-27/+0
Change-Id: Id8a6d6c4faf3101b13d84de180f8db7cab2cb16f
2014-06-12Convert GRID_DIALOG to .uiPalenik Mihály1-4/+0
Change-Id: I4476559cc2e6a90b65d5bdc8169b256929f07f7e Reviewed-on: https://gerrit.libreoffice.org/9734 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-11Convert RID_SANE_DIALOG to .uiPalenik Mihály1-1/+0
Change-Id: I1f08493cdc18f4c0691a8436368432fe4e94dec3 Reviewed-on: https://gerrit.libreoffice.org/9696 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-28prefer makefile-gmake-modeTakeshi Abe1-1/+1
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-21/+4
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl1-1/+1
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2012-01-04fix sanedlg.hrc dep issue due to gbuildification of extensionsNorbert Thiebaud1-0/+49