summaryrefslogtreecommitdiffstats
path: root/l10ntools
Commit message (Collapse)AuthorAgeFilesLines
* fix commentsCaolán McNamara2014-02-261-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>
* Remove visual noise from l10ntoolsAlexander Wilms2014-02-2611-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>
* cid#707946 Uninitialized pointer fieldNoel Grandin2014-02-212-4/+3
| | | | | | | this field was actually only used to swap values between other values, so convert it to local variables Change-Id: I274e8978651f905c0bd2391ac4baaf5c23388425
* cid#1038312 Dereference before null checkNoel Grandin2014-02-201-1/+1
| | | | Change-Id: I280d9382a47c0a934f5b1cd79eead59f9a50e52e
* ulfex: remove unneeded bULF, it is always trueZolnai Tamás2014-02-183-8/+4
| | | | Change-Id: I1401fddfdd42eba96253f4dd19cf60bba8de6802
* Drop unnecessary #includeTakeshi Abe2014-02-181-1/+0
| | | | Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
* l10ntools: sal_Bool -> boolStephan Bergmann2014-02-1711-133/+133
| | | | Change-Id: Ifffdc0942b83b5761cbbbfc5db7d241be60815cb
* moved impress remote clients to a separate repositoryNorbert Thiebaud2014-01-301-1/+0
| | | | | Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
* coverity#1158098 Explicit null dereferencedCaolán McNamara2014-01-291-0/+3
| | | | Change-Id: Id21a206df7d9c221fabf8503d959bfe314217214
* bool improvementsStephan Bergmann2014-01-283-5/+5
| | | | Change-Id: Ifc3b966ce84dfb1f3498d24a09b4f8614abba15c
* fdo#74119 fix unlocalized redline menuAndras Timar2014-01-271-1/+1
| | | | Change-Id: Ia4836a69ddd8bebe8cc21cea67be96b029388cb1
* sal_Bool -> boolStephan Bergmann2014-01-102-4/+3
| | | | Change-Id: Iacfeab2cc6fb8bb85b964a995c5df16d03ed2e53
* Transex3: modify src list localization/merge partZolnai Tamás2014-01-062-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
* Transex3: modify list localization/export partZolnai Tamás2013-12-271-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
* Transex3: Simplify members for listsZolnai Tamás2013-12-273-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
* Transex3: NO_LOCALIZE_EXPORTZolnai Tamás2013-12-272-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
* Transex3: some string optimizationZolnai Tamás2013-12-271-26/+16
| | | | Change-Id: I66dab1cce489c670991d2c74ffc171638dfca3d7
* Transex3: no need to check whether a lang occurs twiceZolnai Tamás2013-12-271-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
* Transex3: remove unused sLastTextType memberZolnai Tamás2013-12-271-1/+0
| | | | Change-Id: I82196decf0419adabc849bd82141e8702f510c1c
* Transex3: remove obsolete textrefidZolnai Tamás2013-12-273-8/+0
| | | | Change-Id: Ic34efbd2090a11aa6fa88d67eda7ab31b1bddfcb
* Transex3: sHelpId is assigned but never usedZolnai Tamás2013-12-272-5/+0
| | | | Change-Id: I01bc171f5ad399644185e5e6d0398e89d9305ee7
* Transex3: remove unused text typesZolnai Tamás2013-12-272-15/+1
| | | | Change-Id: Iad98aae685153589ff72a4be2ec704c0d311e1fd
* Transex3: remove obsolete HelpTextZolnai Tamás2013-12-273-28/+1
| | | | | | Used alternative: Text[ x-comment ] Change-Id: I762bf89c5ed316ec63183e3bedc22cbaac2e8aba
* Transex3: UIEntries list type is unusedZolnai Tamás2013-12-275-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
* Transex3: bDontWriteOutput is assigend but never usedZolnai Tamás2013-12-272-20/+2
| | | | Change-Id: I9ca8c83a225ea4860ac40c7584ec9c56acae0d6c
* Transex3: remove not parsed tokensZolnai Tamás2013-12-272-9/+0
| | | | Change-Id: I7e610c767e28e2af683f95aa573cbe34b35b6966
* fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa2013-12-163-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>
* Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2013-12-111-1/+1
| | | | | | | Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
* Convert chart::InsertTitleDlg to .uiLaurent Balland-Poirier2013-12-091-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>
* fdo#71056 add <sup> to list of inline help XML tagsAndras Timar2013-12-021-2/+2
| | | | Change-Id: If0937bd571658e0f76a51e44dd3fa008f701f02e
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiLNoel Grandin2013-11-224-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
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin2013-11-211-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
* Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin2013-11-201-15/+15
| | | | | | | This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
* remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin2013-11-201-15/+15
| | | | | | | | | Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
* remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin2013-11-201-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
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin2013-11-201-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
* renamed ku* to kmr-Latn*, fdo#63460Eike Rathke2013-11-181-1/+1
| | | | Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
* good-bye stringex, you served wellAndras Timar2013-11-176-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
* bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar2013-11-171-1/+1
| | | | Change-Id: I56c1190c93333636981acf2dd271515170a8a904
* qtz handling in ulfexAndras Timar2013-11-151-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
* do not merge translatable="false" strings to Android resourceAndras Timar2013-11-151-0/+24
| | | | Change-Id: Ie5653d0b03fb5090deaad6c70a9e3e638f6e24e0
* do not extract translatable="false" strings from Android resourceAndras Timar2013-11-151-10/+15
| | | | Change-Id: Id00ce654b99426c771b647e0ae6be02bfdc24359
* fixincludeguards.sh: l10ntoolsThomas Arnhold2013-11-0512-32/+32
| | | | Change-Id: I0fce5b2c59e468e936e3a0fa99ebd50c9d15d0cd
* Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2013-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* l10ntools: remove Package_ulfconvMichael Stahl2013-10-302-20/+0
| | | | Change-Id: I7a8c3fdf34951e00fca8c0a2543f33817fa874fa
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-0/+2
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* convert code to use OUString::endsWithNoel Grandin2013-10-232-8/+4
| | | | | | | | | Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* file list cleanupAndras Timar2013-10-111-20/+2
| | | | Change-Id: I7bffb6c976654e23e8728e902d7bac287e45afd3
* add sw/source/ui/inc/misc.hrcAndras Timar2013-10-111-0/+1
| | | | Change-Id: Id1e0d4241a356bdb08a44b3ae87c3d1023c4669e