summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)AuthorFilesLines
2014-04-14typo: befor -> beforeThomas Arnhold1-1/+1
2014-04-11Memory released through xmlFreeDoc should be acquired with xmlMallocStephan Bergmann1-1/+1
Change-Id: I70db57257fa8226d9f18b7d970d85cc1769252ad
2014-04-08Remove extra newlineStephan Bergmann1-1/+1
Change-Id: I192542c209a1b937672650d370d3f8e93d0bc9f5
2014-04-08Clean up function declarationsStephan Bergmann3-15/+44
Change-Id: Ie1360857dc4ed3102c709c1ef5b5929e5d5d5d7b
2014-04-04Clean up unreferenced functionsStephan Bergmann6-12/+76
Change-Id: Id2c90088298d389bd1cd8efad9aa26100965d6a2
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann2-4/+4
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 Bergmann3-19/+19
...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 McNamara1-1/+0
and so padmin is no more Change-Id: I554cefa8b38581daad8a78bafa167448b0a0ef61
2014-03-19coverity#984098 Uninitialized pointer fieldCaolán McNamara1-1/+3
Change-Id: I671f7c98bdcfa828e7252ec13fd1b6b998ff7a87
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin2-5/+5
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 McNamara1-4/+4
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 Wilms11-70/+70
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 Grandin2-4/+3
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 Grandin1-1/+1
Change-Id: I280d9382a47c0a934f5b1cd79eead59f9a50e52e
2014-02-18ulfex: remove unneeded bULF, it is always trueZolnai Tamás3-8/+4
Change-Id: I1401fddfdd42eba96253f4dd19cf60bba8de6802
2014-02-18Drop unnecessary #includeTakeshi Abe1-1/+0
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-17l10ntools: sal_Bool -> boolStephan Bergmann11-133/+133
Change-Id: Ifffdc0942b83b5761cbbbfc5db7d241be60815cb
2014-01-30moved impress remote clients to a separate repositoryNorbert Thiebaud1-1/+0
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
2014-01-29coverity#1158098 Explicit null dereferencedCaolán McNamara1-0/+3
Change-Id: Id21a206df7d9c221fabf8503d959bfe314217214
2014-01-28bool improvementsStephan Bergmann3-5/+5
Change-Id: Ifc3b966ce84dfb1f3498d24a09b4f8614abba15c
2014-01-27fdo#74119 fix unlocalized redline menuAndras Timar1-1/+1
Change-Id: Ia4836a69ddd8bebe8cc21cea67be96b029388cb1
2014-01-10sal_Bool -> boolStephan Bergmann2-4/+3
Change-Id: Iacfeab2cc6fb8bb85b964a995c5df16d03ed2e53
2014-01-06Transex3: modify src list localization/merge partZolnai Tamás2-68/+31
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ás1-1/+3
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ás3-397/+176
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ás2-29/+3
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ás1-26/+16
Change-Id: I66dab1cce489c670991d2c74ffc171638dfca3d7
2013-12-27Transex3: no need to check whether a lang occurs twiceZolnai Tamás1-21/+0
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ás1-1/+0
Change-Id: I82196decf0419adabc849bd82141e8702f510c1c
2013-12-27Transex3: remove obsolete textrefidZolnai Tamás3-8/+0
Change-Id: Ic34efbd2090a11aa6fa88d67eda7ab31b1bddfcb
2013-12-27Transex3: sHelpId is assigned but never usedZolnai Tamás2-5/+0
Change-Id: I01bc171f5ad399644185e5e6d0398e89d9305ee7
2013-12-27Transex3: remove unused text typesZolnai Tamás2-15/+1
Change-Id: Iad98aae685153589ff72a4be2ec704c0d311e1fd
2013-12-27Transex3: remove obsolete HelpTextZolnai Tamás3-28/+1
Used alternative: Text[ x-comment ] Change-Id: I762bf89c5ed316ec63183e3bedc22cbaac2e8aba
2013-12-27Transex3: UIEntries list type is unusedZolnai Tamás5-57/+2
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ás2-20/+2
Change-Id: I9ca8c83a225ea4860ac40c7584ec9c56acae0d6c
2013-12-27Transex3: remove not parsed tokensZolnai Tamás2-9/+0
Change-Id: I7e610c767e28e2af683f95aa573cbe34b35b6966
2013-12-16fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa3-6/+0
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 McNamara1-1/+1
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-Poirier1-2/+0
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 Timar1-2/+2
Change-Id: If0937bd571658e0f76a51e44dd3fa008f701f02e
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin4-5/+5
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 Grandin1-15/+15
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 Grandin1-15/+15
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin1-15/+15
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 Grandin1-1/+1
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 Grandin1-9/+9
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 Rathke1-1/+1
Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
2013-11-17good-bye stringex, you served wellAndras Timar6-315/+0
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 Timar1-1/+1
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-15qtz handling in ulfexAndras Timar1-2/+2
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