summaryrefslogtreecommitdiff
path: root/Module_helpcontent2.mk
diff options
context:
space:
mode:
authorAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-03-22 15:46:49 -0600
committerAndras Timar <andras.timar@collabora.com>2021-04-07 14:14:18 +0200
commita1119b56f08b85fe11f6fbff07fc373b28e3245d (patch)
tree8d1e470b5962c828a0c7c2cdcfe05caa7a18c670 /Module_helpcontent2.mk
parent18cba6fc7fed38dbf26ceb8a4579aa5737b8ce0a (diff)
Since I keep procrastinating on the Online Help redesign, let’s do it incrementally. Change-Id: I2e7ebc1d3d9df8f6b7425dcae50464d463d7f0c3 (cherry picked from commit e694812962ffc63f54e130446a0cac49f048bca0) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/113600 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'Module_helpcontent2.mk')
0 files changed, 0 insertions, 0 deletions
ibreoffice-4-0'>libreoffice-4-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sccomp/AllLangMoTarget_scc.mk
AgeCommit message (Collapse)Author
2017-07-21migrate to boost::gettextCaolán McNamara
* 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