Commit graph

317 commits

Author SHA1 Message Date
Andras Timar
6c6050237b remove localization tool of obsoleted layout code 2011-10-29 10:43:44 +02:00
Andras Timar
df6c97530e tweak handling of extension descriptions 2011-10-29 00:21:20 +02:00
Andras Timar
e1ef3ad57d char array should be null terminated 2011-10-28 15:55:09 +02:00
Stephan Bergmann
bf1f0183d5 Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64). 2011-10-18 23:10:56 +02:00
Miklos Vajna
4456143b68 po2lo: the po parser should be reset before starting a new file 2011-10-13 10:12:46 +02:00
Miklos Vajna
551a13f54e Give better error message on invalid sdf input 2011-10-06 16:36:04 +02:00
Andras Timar
a8fa695f8d merge strings to description.xml files 2011-10-05 22:04:05 +02:00
Tor Lillqvist
d0889dd36b WaE: return: conversion from sal_uInt32 to sal_uInt16, possible loss of data 2011-10-04 12:03:15 +03:00
Miklos Vajna
d92a87f195 fdo#41380: fix po2lo to support python3 as well 2011-10-03 23:17:17 +02:00
Andras Timar
c056497ec5 extract strings from scripting module 2011-10-03 15:56:31 +02:00
Andras Timar
a91a7567e7 extract strings for l10n from description.xml files
Merging is to be implemented...
2011-09-30 23:49:38 +02:00
Andras Timar
7969f909e2 fix error messages 2011-09-30 23:49:37 +02:00
Andras Timar
0bb5161900 typo in comment 2011-09-30 23:49:37 +02:00
Andras Timar
397a67a7ad remove unused tokens 2011-09-30 23:49:36 +02:00
Thorsten Behrens
8bd171e786 Make translation tools cross-build aware
Build-time tools should use build-time inpath...
2011-09-30 11:23:12 +02:00
Stephan Bergmann
a66f9903bb Undo basis/brand split: move dynamic libraries from basis to brand. 2011-09-23 17:55:39 +02:00
Caolán McNamara
075cd18020 aMergedLanguages is write only, can be removed 2011-09-22 15:01:03 +01:00
Caolán McNamara
deff93d4f7 callcatcher: newly unused ResData::isMerged 2011-09-22 15:01:02 +01:00
Andras Timar
b57f55cf23 remove unused (and buggy) language fallback functionality
Fallback to en-US is done in translations module. Fallback to
other languages is not supported, but if we ever needed it, it
would be easier to solve the problem in a script language
instead of C++ in translations module.
2011-09-21 20:34:57 +02:00
Andras Timar
810a08a8cb localize.pl is not necessary 2011-09-20 18:29:12 +02:00
Caolán McNamara
d2dff83fc3 ByteString->rtl::OString[Buffer] 2011-09-20 16:54:54 +01:00
Andras Timar
2f2d542830 Revert "localize.pl is not necessary" - breaks on Windows
This reverts commit fbb48a21a8.
2011-09-20 17:21:18 +02:00
Andras Timar
fbb48a21a8 localize.pl is not necessary 2011-09-20 16:43:30 +02:00
Andras Timar
8ba5b96f1e no 'progress bar' for l10ntools 2011-09-20 16:43:29 +02:00
Andras Timar
8cc504be63 adjust what to extract and what not 2011-09-20 16:43:29 +02:00
Andras Timar
7477f8e7aa remove unused column from ExeTable 2011-09-20 16:43:28 +02:00
Andras Timar
e0dc7d906b remove obsolete command line switches -UTF8 and -NOUTF8 2011-09-20 10:23:32 +02:00
Andras Timar
1536203ed2 remove unused MAX_LANGUAGES definition 2011-09-20 10:23:32 +02:00
Andras Timar
883988e3e4 remove obsolete command line switch -ISO99 2011-09-20 10:23:30 +02:00
Caolán McNamara
5bc9435b02 ByteString->rtl::OString[Buffer] 2011-09-19 09:59:23 +01:00
Caolán McNamara
f3d0d0a608 can use SearchAndReplaceAll sal_Char variant here 2011-09-19 09:59:22 +01:00
Caolán McNamara
53b8ba7aed unused local static ByteStrings 2011-09-19 09:59:22 +01:00
Caolán McNamara
68c3fbf49d remove redundant intermediate ByteStrings 2011-09-19 09:59:20 +01:00
Caolán McNamara
ec303dfe52 charset arg doesn't exist anymore, fixes helpex 2011-09-17 23:20:47 +01:00
Andras Timar
5b465d8770 cleanup: don't use German as fallback language 2011-09-17 10:18:19 +02:00
Andras Timar
1066677fd5 add a new helper script: addkeyid2pot.pl
It adds key IDs to pot entries in the form of #. type comments.
In Pootle the translator can search for strings using the key IDs.
2011-09-17 10:18:18 +02:00
Andras Timar
81da24399e rewrite keyidGen.pl
it creates 4 letter key IDs (same as in pot/po files)
2011-09-17 10:18:17 +02:00
Miklos Vajna
1fff8f2576 Add po2lo tool 2011-09-15 11:07:41 +02:00
Miklos Vajna
47a8454f5f fast_merge: fix mis-merge of first module's strings
The problem was that in write_lines() when $first_run was true, the
add_to_buffer() call already set the current module's name to the second
module.

A fix for this is to use let make_paths() take a parameter, and in case
of the first run, pass the really first module name, not the current
one.
2011-09-15 11:07:40 +02:00
Julien Nabet
545c36f58e cppcheck:remove unused variables 2011-09-13 20:42:27 +02:00
Caolán McNamara
bebbe97248 wtratree unbuilt 2011-09-13 10:15:21 +01:00
Caolán McNamara
f2306b9474 elide conversion from MS1252 to MS1252 2011-09-13 10:15:21 +01:00
Caolán McNamara
13caa83dca no route left to set encoding, only RTL_TEXTENCODING_MS_1252 is possible 2011-09-13 10:15:20 +01:00
Caolán McNamara
f64dc2c9fb I believe the src charset pragma is archaic and unused 2011-09-13 10:15:20 +01:00
Pierre-André Jacquod
3979fb5b59 [cppchecker] deletion of unread variable 2011-09-06 22:42:32 +02:00
Caolán McNamara
8e3ef76ccf bah, three-way merge screwed us 2011-08-31 13:18:31 +01:00
Caolán McNamara
b8eec10253 just add it wholesale 2011-08-31 13:02:58 +01:00
Tor Lillqvist
efd7511302 Need to link with COMPHELPERLIB now for getToken at least 2011-08-31 14:45:47 +03:00
Caolán McNamara
a967c049a5 may need comphelper here 2011-08-31 11:13:41 +01:00
Julien Nabet
01a87c102f Some cppcheck cleaning 2011-08-30 23:13:04 +02:00