Skip to content

Commit 8d3d28a

Browse files
author
macho
committedDec 3, 2009
translation files updated with script (old one)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12332 c8812cc2-4d05-0410-92ff-de0c093fc19c

33 files changed

+8532
-131943
lines changed
 

‎i18n/qgis_ar.ts

Lines changed: 666 additions & 1799 deletions
Large diffs are not rendered by default.

‎i18n/qgis_cs_CZ.ts

Lines changed: 579 additions & 1355 deletions
Large diffs are not rendered by default.

‎i18n/qgis_de.ts

Lines changed: 381 additions & 365 deletions
Large diffs are not rendered by default.

‎i18n/qgis_el_GR.ts

Lines changed: 493 additions & 1640 deletions
Large diffs are not rendered by default.

‎i18n/qgis_es.ts

Lines changed: 304 additions & 364 deletions
Large diffs are not rendered by default.

‎i18n/qgis_fr.ts

Lines changed: 335 additions & 5412 deletions
Large diffs are not rendered by default.

‎i18n/qgis_he.ts

Lines changed: 193 additions & 6469 deletions
Large diffs are not rendered by default.

‎i18n/qgis_hu.ts

Lines changed: 302 additions & 5503 deletions
Large diffs are not rendered by default.

‎i18n/qgis_id.ts

Lines changed: 181 additions & 6454 deletions
Large diffs are not rendered by default.

‎i18n/qgis_it.ts

Lines changed: 338 additions & 5415 deletions
Large diffs are not rendered by default.

‎i18n/qgis_ja.ts

Lines changed: 181 additions & 6440 deletions
Large diffs are not rendered by default.

‎i18n/qgis_ka_GE.ts

Lines changed: 70 additions & 6260 deletions
Large diffs are not rendered by default.

‎i18n/qgis_lo.ts

Lines changed: 187 additions & 6438 deletions
Large diffs are not rendered by default.

‎i18n/qgis_lt.ts

Lines changed: 198 additions & 6471 deletions
Large diffs are not rendered by default.

‎i18n/qgis_lv.ts

Lines changed: 290 additions & 5541 deletions
Large diffs are not rendered by default.

‎i18n/qgis_mn.ts

Lines changed: 191 additions & 6441 deletions
Large diffs are not rendered by default.

‎i18n/qgis_nl.ts

Lines changed: 560 additions & 363 deletions
Large diffs are not rendered by default.

‎i18n/qgis_pl_PL.ts

Lines changed: 331 additions & 295 deletions
Large diffs are not rendered by default.

‎i18n/qgis_pt_BR.ts

Lines changed: 255 additions & 6015 deletions
Large diffs are not rendered by default.

‎i18n/qgis_ro.ts

Lines changed: 204 additions & 6466 deletions
Large diffs are not rendered by default.

‎i18n/qgis_ru.ts

Lines changed: 311 additions & 5473 deletions
Large diffs are not rendered by default.

‎i18n/qgis_sk.ts

Lines changed: 220 additions & 6413 deletions
Large diffs are not rendered by default.

‎i18n/qgis_sq_AL.ts

Lines changed: 190 additions & 6440 deletions
Large diffs are not rendered by default.

‎i18n/qgis_sv.ts

Lines changed: 186 additions & 5851 deletions
Large diffs are not rendered by default.

‎i18n/qgis_th.ts

Lines changed: 305 additions & 5490 deletions
Large diffs are not rendered by default.

‎i18n/qgis_tr.ts

Lines changed: 218 additions & 6386 deletions
Large diffs are not rendered by default.

‎i18n/qgis_uk.ts

Lines changed: 88 additions & 6189 deletions
Large diffs are not rendered by default.

‎i18n/qgis_vi.ts

Lines changed: 242 additions & 550 deletions
Large diffs are not rendered by default.

‎i18n/qgis_xh.ts

Lines changed: 182 additions & 1341 deletions
Large diffs are not rendered by default.

‎i18n/qgis_zh_CN.ts

Lines changed: 198 additions & 1328 deletions
Large diffs are not rendered by default.

‎i18n/qgis_zh_TW.ts

Lines changed: 126 additions & 930 deletions
Large diffs are not rendered by default.

‎scripts/update_ts_files.sh

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
# Update the translation files with strings used in QGIS
33
# 1. create a clean Qt .pro file for the project
44
# 2. run lupdate using the .pro file from step 1
@@ -7,53 +7,18 @@
77
# name is reserved for the Windows qmake project file
88
# update_ts_files.sh,v 1.3 2004/07/14 18:16:24 gsherman Exp
99

10-
set -e
11-
1210
PATH=$QTDIR/bin:$PATH
1311

1412
#first tar the qt_xx.ts files in i18n folder such that lupdate does not
1513
#merge the qgis strings to them
1614
echo Creating qt_ts.tar
17-
tar --remove-files -cvf i18n/qt_ts.tar i18n/qt_*.ts
18-
exclude=
19-
opts=
20-
for i in "$@"; do
21-
if [ -f "i18n/qgis_$i.ts" ]; then
22-
exclude="$exclude --exclude i18n/qgis_$i.ts"
23-
else
24-
opts=" $i"
25-
fi
26-
done
27-
if [ -n "$exclude" ]; then
28-
tar --remove-files -cvf i18n/qgis_ts.tar i18n/qgis_*.ts$exclude
29-
fi
30-
echo Updating python translations
31-
cd python
32-
pylupdate4 utils.py -ts python-i18n.ts
33-
perl ../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
34-
rm python-i18n.ts
35-
cd ..
36-
for i in python/plugins/*/CMakeLists.txt; do
37-
cd ${i%/*}
38-
pylupdate4 $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
39-
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
40-
rm python-i18n.ts
41-
cd ../../..
42-
done
15+
tar -cvf i18n/qt_ts.tar i18n/qt_*.ts
16+
rm i18n/qt_*.ts
4317
echo Creating qmake project file
44-
qmake -project -o qgis_ts.pro -nopwd src python i18n
18+
qmake -project -o qgis_ts.pro
4519
echo Updating translation files
46-
lupdate$opts -verbose qgis_ts.pro
47-
echo Removing temporary python translation files
48-
perl -i.bak -ne 'print unless /^\s+<location.*python-i18n\.cpp.*$/;' i18n/qgis_*.ts
49-
rm python/python-i18n.cpp python/plugins/*/python-i18n.cpp i18n/qgis_*.ts.bak
20+
lupdate -verbose qgis_ts.pro
5021
echo Removing qmake project file
5122
rm qgis_ts.pro
5223
echo Unpacking qt_ts.tar
53-
tar -xvf i18n/qt_ts.tar
54-
rm i18n/qt_ts.tar
55-
if [ -f i18n/qgis_ts.tar ]; then
56-
echo Unpacking i18n/qgis_ts.tar
57-
tar -xvf i18n/qgis_ts.tar
58-
rm i18n/qgis_ts.tar
59-
fi
24+
tar -xvf i18n/qt_ts.tar

‎src/ui/qgspgsourceselectbase.ui

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<item>
166166
<widget class="QDialogButtonBox" name="buttonBox">
167167
<property name="standardButtons">
168-
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
168+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Open</set>
169169
</property>
170170
</widget>
171171
</item>
@@ -195,12 +195,28 @@
195195
<slot>reject()</slot>
196196
<hints>
197197
<hint type="sourcelabel">
198-
<x>353</x>
199-
<y>446</y>
198+
<x>265</x>
199+
<y>449</y>
200200
</hint>
201201
<hint type="destinationlabel">
202-
<x>404</x>
203-
<y>421</y>
202+
<x>399</x>
203+
<y>310</y>
204+
</hint>
205+
</hints>
206+
</connection>
207+
<connection>
208+
<sender>buttonBox</sender>
209+
<signal>accepted()</signal>
210+
<receiver>QgsPgSourceSelectBase</receiver>
211+
<slot>accept()</slot>
212+
<hints>
213+
<hint type="sourcelabel">
214+
<x>368</x>
215+
<y>450</y>
216+
</hint>
217+
<hint type="destinationlabel">
218+
<x>401</x>
219+
<y>377</y>
204220
</hint>
205221
</hints>
206222
</connection>

0 commit comments

Comments
 (0)