summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)Author
2014-04-08Remove extra newlineStephan Bergmann
Change-Id: I192542c209a1b937672650d370d3f8e93d0bc9f5
2014-04-08Clean up function declarationsStephan Bergmann
Change-Id: Ie1360857dc4ed3102c709c1ef5b5929e5d5d5d7b
2014-04-04Clean up unreferenced functionsStephan Bergmann
Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-21move remaining padmin dialogs into vclCaolán McNamara
and so padmin is no more Change-Id: I554cefa8b38581daad8a78bafa167448b0a0ef61
2014-03-19coverity#984098 Uninitialized pointer fieldCaolán McNamara
Change-Id: I671f7c98bdcfa828e7252ec13fd1b6b998ff7a87
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-02-26fix commentsCaolán McNamara
Change-Id: Iee6557755e4976e023d1c04bde24e3aa1d0fd062 Reviewed-on: https://gerrit.libreoffice.org/8369 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26Remove visual noise from l10ntoolsAlexander Wilms
Change-Id: Ia10056ae9e1b9adfe74f299afac5c3c84fa8cea7 Reviewed-on: https://gerrit.libreoffice.org/8278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21cid#707946 Uninitialized pointer fieldNoel Grandin
this field was actually only used to swap values between other values, so convert it to local variables Change-Id: I274e8978651f905c0bd2391ac4baaf5c23388425
2014-02-20cid#1038312 Dereference before null checkNoel Grandin
Change-Id: I280d9382a47c0a934f5b1cd79eead59f9a50e52e
2014-02-18ulfex: remove unneeded bULF, it is always trueZolnai Tamás
Change-Id: I1401fddfdd42eba96253f4dd19cf60bba8de6802
2014-02-18Drop unnecessary #includeTakeshi Abe
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-17l10ntools: sal_Bool -> boolStephan Bergmann
Change-Id: Ifffdc0942b83b5761cbbbfc5db7d241be60815cb
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