summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)Author
2014-01-30moved impress remote clients to a separate repositoryNorbert Thiebaud
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
2014-01-29coverity#1158098 Explicit null dereferencedCaolán McNamara
Change-Id: Id21a206df7d9c221fabf8503d959bfe314217214
2014-01-28bool improvementsStephan Bergmann
Change-Id: Ifc3b966ce84dfb1f3498d24a09b4f8614abba15c
2014-01-27fdo#74119 fix unlocalized redline menuAndras Timar
Change-Id: Ia4836a69ddd8bebe8cc21cea67be96b029388cb1
2014-01-10sal_Bool -> boolStephan Bergmann
Change-Id: Iacfeab2cc6fb8bb85b964a995c5df16d03ed2e53
2014-01-06Transex3: modify src list localization/merge partZolnai Tamás
Avoid using numbers to identify the list items because using numbers can lead to mixed translations. Use the corresponding string instead. Remove a hacky solution for mixed translations. See: 95ea6cb21a7d7f4f163e642ba4b1e165a427a0d1 Change-Id: I6f1d48bf71fe2146f04f53c6b474dd7c0ce98678
2013-12-27Transex3: modify list localization/export partZolnai Tamás
Avoid using numbers to identify the list items because using numbers can lead to mixed translations. Use the corresponding string instead. Change-Id: I963efbf0b4d6b17f77c51cbda0af57efa66cf8cf
2013-12-27Transex3: Simplify members for listsZolnai Tamás
No need for hashmaps (ExportListEntry) because only one list is stored (en-US). One list member is enough instead of one for all types. Change-Id: I952d6616e436c5aa7656854f83d442434ffcbd54
2013-12-27Transex3: NO_LOCALIZE_EXPORTZolnai Tamás
In the past, NO_LOCALIZE_EXPORT macro must be used to skip uneeded parsing of src files which has no localizable content. It is unsued by now and it is more effective to handle this files on gmake level: gb_SrsTarget_add_nonlocalizable_files gb_SrsTarget_add_nonlocalizable_templates Plus remove some empty src file. Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-27Transex3: some string optimizationZolnai Tamás
Change-Id: I66dab1cce489c670991d2c74ffc171638dfca3d7
2013-12-27Transex3: no need to check whether a lang occurs twiceZolnai Tamás
It was an old concept that besides the en-US entry other language entries were also added and in this case may happened that one lang occured twice. Change-Id: Ifac7089309ecf4a59b128c0fea5e8b757ca2c8a8
2013-12-27Transex3: remove unused sLastTextType memberZolnai Tamás
Change-Id: I82196decf0419adabc849bd82141e8702f510c1c
2013-12-27Transex3: remove obsolete textrefidZolnai Tamás
Change-Id: Ic34efbd2090a11aa6fa88d67eda7ab31b1bddfcb
2013-12-27Transex3: sHelpId is assigned but never usedZolnai Tamás
Change-Id: I01bc171f5ad399644185e5e6d0398e89d9305ee7
2013-12-27Transex3: remove unused text typesZolnai Tamás
Change-Id: Iad98aae685153589ff72a4be2ec704c0d311e1fd
2013-12-27Transex3: remove obsolete HelpTextZolnai Tamás
Used alternative: Text[ x-comment ] Change-Id: I762bf89c5ed316ec63183e3bedc22cbaac2e8aba
2013-12-27Transex3: UIEntries list type is unusedZolnai Tamás
This list type doesn't appear in the resource files and there are lots of alternatives (ItemList, StringList ...) for future need. Change-Id: Ia4454a329ba93f54e5b3ca45443a1a84be3b4bf7
2013-12-27Transex3: bDontWriteOutput is assigend but never usedZolnai Tamás
Change-Id: I9ca8c83a225ea4860ac40c7584ec9c56acae0d6c
2013-12-27Transex3: remove not parsed tokensZolnai Tamás
Change-Id: I7e610c767e28e2af683f95aa573cbe34b35b6966
2013-12-16fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
Change-Id: I5150eec33228e18e274a8ae4effd3f185851b7f4 Reviewed-on: https://gerrit.libreoffice.org/7103 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-09Convert chart::InsertTitleDlg to .uiLaurent Balland-Poirier
Change-Id: Ic92ab5e715253caa4be9c0fea4499797ed2b7485 Reviewed-on: https://gerrit.libreoffice.org/6997 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02fdo#71056 add <sup> to list of inline help XML tagsAndras Timar
Change-Id: If0937bd571658e0f76a51e44dd3fa008f701f02e
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin
Convert code like: aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN")) to: aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN") which compiles down to the same code. Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-11-18renamed ku* to kmr-Latn*, fdo#63460Eike Rathke
Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
2013-11-17good-bye stringex, you served wellAndras Timar
It will be better to handle Android Impress Remote localization independent of the big LibreOffice source tree. Instead of stringex, we will use android2po, a 3rd party utility for conversion strings.xml <-> pot/po. Change-Id: I4eae53e4f8d94c55e5564d54c5e5c214bc9569d7
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-15qtz handling in ulfexAndras Timar
If we don't want to use qtz codes in .ulf files, then why do we write out qtz language with en-US content? In fact this patch would not be necessary, if I didn't find a build breaker bug, somehow sNewText was empty for certain strings, and the sNewText.copy(sNewText.indexOf('|') + 2) failed. Change-Id: Idf377e61391eb08ecb692a7c404d190659b97575
2013-11-15do not merge translatable="false" strings to Android resourceAndras Timar
Change-Id: Ie5653d0b03fb5090deaad6c70a9e3e638f6e24e0
2013-11-15do not extract translatable="false" strings from Android resourceAndras Timar
Change-Id: Id00ce654b99426c771b647e0ae6be02bfdc24359
2013-11-05fixincludeguards.sh: l10ntoolsThomas Arnhold
Change-Id: I0fce5b2c59e468e936e3a0fa99ebd50c9d15d0cd
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-30l10ntools: remove Package_ulfconvMichael Stahl
Change-Id: I7a8c3fdf34951e00fca8c0a2543f33817fa874fa
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-11file list cleanupAndras Timar
Change-Id: I7bffb6c976654e23e8728e902d7bac287e45afd3
2013-10-11add sw/source/ui/inc/misc.hrcAndras Timar
Change-Id: Id1e0d4241a356bdb08a44b3ae87c3d1023c4669e
2013-10-09fix path of l10ntools in localize (solver has gone)Andras Timar
Change-Id: I759b22ca0f5bf7e3405572088d79263dd978f43c
2013-09-27fix po import of PairedListZolnai Tamás
Change-Id: Ie086cf59ae86a845e0b84e0ecba7f7e578d83783
2013-09-26Fix memory leaksMatteo Casalin
Change-Id: I21662cb52c51332700e1021ae55d92cb46ccc15a Reviewed-on: https://gerrit.libreoffice.org/6029 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-25Revert "More ICU dependencies that are now dragged in"Matúš Kukan
Should be fixed by 913f83ac52629a524c373d2504a0cb349446b371 This reverts commits 4dd261e526f43a364c645e7022c49b61c8001a39 30d7729586a60bef061261e9e59bf44768cc0196 4e2e1ca76f772d4644a21b82f79dfb4412a9c99f
2013-09-23Add icudata here, tooTor Lillqvist
Change-Id: I4bf39d3f4f21a0eb78e064c74ff47a47c9d0558c
2013-09-23Seems that on the Android tinderboxes, icudata is needed by helpexTor Lillqvist
But it built fine locally for me, huh. Oh well. Change-Id: Icef376a26eb8069eff002b2112a25363b5e18cb3
2013-09-18Clean up l10ntools xml parser.Zolnai Tamás
-Remove namespaces from header. -Remove unused members (dbgcnt) -Remove helpless methods (SetValue, copy ctr and operator, inherited but not overriden virtual functions) -Use prefixes for variables -Use const where it possible -Remove visual noise -Correct indentation Change-Id: I295be484dde157847cd16f260ec70d5cdb5b6fb4