Skip to content

Commit 6902898

Browse files
author
rchacon
committed
Updates Chinese translations for FormDesigner.php. Thanks Exson!
git-svn-id: https://svn.code.sf.net/p/web-erp/code/trunk@6437 09516a42-71f9-43be-811f-9b821cf0d246
1 parent 8c71018 commit 6902898

File tree

7 files changed

+38
-45
lines changed

7 files changed

+38
-45
lines changed

FormDesigner.php

+10-10
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ function SelectShowElement($keyName, $keyValue) {
233233
foreach ($FormDesign as $key) {
234234
switch ($key['type']) {
235235
case 'image':
236-
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="4">' . _($key['name']) . '</th></tr>';
237-
echo '<tr>';
236+
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="4">' . _($key['name']) . '</th>';
237+
echo '</tr><tr>'; // New table row.
238238
InputX($key['id'], $key->x);
239239
InputY($key['id'], $key->y);
240240
echo '</tr><tr>'; // New table row.
@@ -247,8 +247,8 @@ function SelectShowElement($keyName, $keyValue) {
247247
break;
248248
case 'SimpleText':
249249
echo '<td colspan="1" valign="top"><table width="100%" border="1">';
250-
echo '<tr><th colspan="6">' . _($key['name']) . '</th></tr>';
251-
echo '<tr>';
250+
echo '<tr><th colspan="6">' . _($key['name']) . '</th>';
251+
echo '</tr><tr>'; // New table row.
252252
InputX($key['id'], $key->x);
253253
InputY($key['id'], $key->y);
254254
SelectFontSize($key['id'], $key->FontSize);
@@ -258,8 +258,8 @@ function SelectShowElement($keyName, $keyValue) {
258258
break;
259259
case 'MultiLineText':
260260
echo '<td colspan="1" valign="top"><table width="100%" border="1">';
261-
echo '<tr><th colspan="8">' . _($key['name']) . '</th></tr>';
262-
echo '<tr>';
261+
echo '<tr><th colspan="8">' . _($key['name']) . '</th>';
262+
echo '</tr><tr>'; // New table row.
263263
InputX($key['id'], $key->x);
264264
InputY($key['id'], $key->y);
265265
InputWidth($key['id'], $key->Length);
@@ -298,8 +298,8 @@ function SelectShowElement($keyName, $keyValue) {
298298
$counter=$counter+1;
299299
break;
300300
case 'CurvedRectangle':
301-
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">' . _($key['name']) . '</th></tr>';
302-
echo '<tr>';
301+
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="6">' . _($key['name']) . '</th>';
302+
echo '</tr><tr>'; // New table row.
303303
InputX($key['id'], $key->x);
304304
InputY($key['id'], $key->y);
305305
echo '<td class="number">' . _('Width').' = ' . '</td><td><input type="text" class="number" name="'.$key['id'].'width" size="4" maxlength="4" value="'.$key->width.'" /></td>';
@@ -320,8 +320,8 @@ function SelectShowElement($keyName, $keyValue) {
320320
$counter=$counter+1;
321321
break;
322322
case 'Rectangle': // This case is probably included in CurvedRectangle.
323-
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="8">' . _($key['name']) . '</th></tr>';
324-
echo '<tr>';
323+
echo '<td colspan="1" valign="top"><table width="100%" border="1"><tr><th colspan="8">' . _($key['name']) . '</th>';
324+
echo '</tr><tr>'; // New table row.
325325
InputX($key['id'], $key->x);
326326
InputY($key['id'], $key->y);
327327
echo '</tr><tr>'; // New table row.
860 Bytes
Binary file not shown.

locale/zh_CN.utf8/LC_MESSAGES/messages.po

+10-13
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ msgstr ""
88
"Project-Id-Version: WEBERP3.05 VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2013-11-24 10:11+1300\n"
11-
"PO-Revision-Date: 2013-11-19 12:32+0800\n"
11+
"PO-Revision-Date: 2013-11-25 08:20-0600\n"
1212
"Last-Translator: Rafael Chacon <[email protected]>\n"
1313
"Language-Team: WebERP Translation Team <web-erp-translation@lists."
1414
"sourceforge.net>\n"
15-
"Language: \n"
1615
"MIME-Version: 1.0\n"
1716
"Content-Type: text/plain; charset=UTF-8\n"
1817
"Content-Transfer-Encoding: 8bit\n"
1918
"X-Launchpad-Export-Date: 2011-01-29 15:16+0000\n"
20-
"X-Generator: Poedit 1.5.7\n"
19+
"X-Generator: Poedit 1.5.4\n"
2120
"X-Poedit-Basepath: C:\\AppServ/www/\n"
2221
"X-Poedit-SearchPath-0: weberptrunk\n"
2322

@@ -11774,7 +11773,7 @@ msgstr "x"
1177411773
msgid ""
1177511774
"Distance from the left side of the sheet to the left side of the element in "
1177611775
"points"
11777-
msgstr ""
11776+
msgstr "从纸张左侧开始到元素左侧的距离以点数表示"
1177811777

1177911778
#: FormDesigner.php:42
1178011779
msgid "y"
@@ -11784,7 +11783,7 @@ msgstr "y"
1178411783
msgid ""
1178511784
"Distance from the lower side of the sheet to the top side of the element in "
1178611785
"points"
11787-
msgstr ""
11786+
msgstr "从纸张底部到元素顶部的距离以点数表示"
1178811787

1178911788
#: FormDesigner.php:50 FormDesigner.php:241 FormDesigner.php:305
1179011789
#: FormDesigner.php:328 Labels.php:293
@@ -11793,15 +11792,15 @@ msgstr "宽度"
1179311792

1179411793
#: FormDesigner.php:52
1179511794
msgid "Width of the element in points"
11796-
msgstr ""
11795+
msgstr "元素的宽度以点数表示"
1179711796

1179811797
#: FormDesigner.php:59 Labels.php:292
1179911798
msgid "Height"
1180011799
msgstr "告"
1180111800

1180211801
#: FormDesigner.php:61
1180311802
msgid "Height of the element in points"
11804-
msgstr ""
11803+
msgstr "元素高度以点数表示"
1180511804

1180611805
#: FormDesigner.php:69
1180711806
msgid "Left"
@@ -11846,9 +11845,8 @@ msgid "Font Size"
1184611845
msgstr "字体大小"
1184711846

1184811847
#: FormDesigner.php:92
11849-
#, fuzzy
1185011848
msgid "Font size in points"
11851-
msgstr "字体大小"
11849+
msgstr "字体大小以点数表示"
1185211850

1185311851
#: FormDesigner.php:100
1185411852
#, fuzzy
@@ -11886,18 +11884,17 @@ msgstr "表单设计"
1188611884

1188711885
#: FormDesigner.php:204
1188811886
msgid "Enter the changes that you want in the form layout below."
11889-
msgstr "在下面输入您需要变更的表单"
11887+
msgstr "输入报表中你需要修改的部分"
1189011888

1189111889
#: FormDesigner.php:205
11892-
#, fuzzy
1189311890
msgid "All measurements are in PostScript points (72 points = 25,4 mm)."
11894-
msgstr "所有的单位均为点"
11891+
msgstr "所用的计量单位为PostScript的点(72点 = 25.4 毫米)"
1189511892

1189611893
#: FormDesigner.php:206
1189711894
msgid ""
1189811895
"All coordinates are measured from the lower left corner of the sheet to the "
1189911896
"top left corner of the element."
11900-
msgstr ""
11897+
msgstr "所有的坐标值均从纸张的左下角开始到元素的左上角"
1190111898

1190211899
#: FormDesigner.php:214
1190311900
msgid "Form Name"
901 Bytes
Binary file not shown.

locale/zh_HK.utf8/LC_MESSAGES/messages.po

+9-12
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ msgstr ""
88
"Project-Id-Version: WEBERP3.05 VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2013-11-24 10:11+1300\n"
11-
"PO-Revision-Date: 2013-06-01 16:42-0600\n"
11+
"PO-Revision-Date: 2013-11-25 08:24-0600\n"
1212
"Last-Translator: Rafael Chacon <[email protected]>\n"
1313
"Language-Team: WebERP Translation Team <web-erp-translation@lists."
1414
"sourceforge.net>\n"
15-
"Language: \n"
1615
"MIME-Version: 1.0\n"
1716
"Content-Type: text/plain; charset=UTF-8\n"
1817
"Content-Transfer-Encoding: 8bit\n"
@@ -11913,7 +11912,7 @@ msgstr "x"
1191311912
msgid ""
1191411913
"Distance from the left side of the sheet to the left side of the element in "
1191511914
"points"
11916-
msgstr ""
11915+
msgstr "從紙張左側開始到元素左側的距離以點數表示"
1191711916

1191811917
#: FormDesigner.php:42
1191911918
msgid "y"
@@ -11923,7 +11922,7 @@ msgstr "y"
1192311922
msgid ""
1192411923
"Distance from the lower side of the sheet to the top side of the element in "
1192511924
"points"
11926-
msgstr ""
11925+
msgstr "從紙張底部到元素頂部的距離以點數表示"
1192711926

1192811927
#: FormDesigner.php:50 FormDesigner.php:241 FormDesigner.php:305
1192911928
#: FormDesigner.php:328 Labels.php:293
@@ -11932,15 +11931,15 @@ msgstr "宽度"
1193211931

1193311932
#: FormDesigner.php:52
1193411933
msgid "Width of the element in points"
11935-
msgstr ""
11934+
msgstr "元素的寬度以點數表示"
1193611935

1193711936
#: FormDesigner.php:59 Labels.php:292
1193811937
msgid "Height"
1193911938
msgstr "告"
1194011939

1194111940
#: FormDesigner.php:61
1194211941
msgid "Height of the element in points"
11943-
msgstr ""
11942+
msgstr "元素高度以點數表示"
1194411943

1194511944
#: FormDesigner.php:69
1194611945
msgid "Left"
@@ -11985,9 +11984,8 @@ msgid "Font Size"
1198511984
msgstr "字体大小"
1198611985

1198711986
#: FormDesigner.php:92
11988-
#, fuzzy
1198911987
msgid "Font size in points"
11990-
msgstr "字体大小"
11988+
msgstr "字體大小以點數表示"
1199111989

1199211990
#: FormDesigner.php:100
1199311991
#, fuzzy
@@ -12025,18 +12023,17 @@ msgstr "表单设计"
1202512023

1202612024
#: FormDesigner.php:204
1202712025
msgid "Enter the changes that you want in the form layout below."
12028-
msgstr "在下面输入您需要变更的表单"
12026+
msgstr "在下面输入您需要变更的表单輸入報表中你需要修改的部分"
1202912027

1203012028
#: FormDesigner.php:205
12031-
#, fuzzy
1203212029
msgid "All measurements are in PostScript points (72 points = 25,4 mm)."
12033-
msgstr "所有的单位均为毫米"
12030+
msgstr "所用的計量單位爲PostScript的點 (72點 = 25.4 毫米)"
1203412031

1203512032
#: FormDesigner.php:206
1203612033
msgid ""
1203712034
"All coordinates are measured from the lower left corner of the sheet to the "
1203812035
"top left corner of the element."
12039-
msgstr ""
12036+
msgstr "所有的坐標值均從紙張的左下角開始到元素的左上角。"
1204012037

1204112038
#: FormDesigner.php:214
1204212039
msgid "Form Name"
1.04 KB
Binary file not shown.

locale/zh_TW.utf8/LC_MESSAGES/messages.po

+9-10
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: WebERP 4.05\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2013-11-24 10:11+1300\n"
11-
"PO-Revision-Date: 2013-06-01 16:42-0600\n"
11+
"PO-Revision-Date: 2013-11-25 08:28-0600\n"
1212
"Last-Translator: Rafael Chacon <[email protected]>\n"
1313
"Language-Team: <[email protected]>\n"
1414
"Language: zh_TW\n"
@@ -12374,7 +12374,7 @@ msgstr ""
1237412374
msgid ""
1237512375
"Distance from the left side of the sheet to the left side of the element in "
1237612376
"points"
12377-
msgstr ""
12377+
msgstr "從紙張左側開始到元素左側的距離以點數表示"
1237812378

1237912379
#: FormDesigner.php:42
1238012380
msgid "y"
@@ -12384,7 +12384,7 @@ msgstr ""
1238412384
msgid ""
1238512385
"Distance from the lower side of the sheet to the top side of the element in "
1238612386
"points"
12387-
msgstr ""
12387+
msgstr "從紙張底部到元素頂部的距離以點數表示"
1238812388

1238912389
#: FormDesigner.php:50 FormDesigner.php:241 FormDesigner.php:305
1239012390
#: FormDesigner.php:328 Labels.php:293
@@ -12393,7 +12393,7 @@ msgstr ""
1239312393

1239412394
#: FormDesigner.php:52
1239512395
msgid "Width of the element in points"
12396-
msgstr ""
12396+
msgstr "元素的寬度以點數表示"
1239712397

1239812398
#: FormDesigner.php:59 Labels.php:292
1239912399
#, fuzzy
@@ -12402,7 +12402,7 @@ msgstr "重量"
1240212402

1240312403
#: FormDesigner.php:61
1240412404
msgid "Height of the element in points"
12405-
msgstr ""
12405+
msgstr "元素高度以點數表示"
1240612406

1240712407
#: FormDesigner.php:69
1240812408
msgid "Left"
@@ -12449,9 +12449,8 @@ msgid "Font Size"
1244912449
msgstr "報告大小"
1245012450

1245112451
#: FormDesigner.php:92
12452-
#, fuzzy
1245312452
msgid "Font size in points"
12454-
msgstr "報告大小"
12453+
msgstr "字體大小以點數表示"
1245512454

1245612455
#: FormDesigner.php:100
1245712456
#, fuzzy
@@ -12493,17 +12492,17 @@ msgstr "設計"
1249312492

1249412493
#: FormDesigner.php:204
1249512494
msgid "Enter the changes that you want in the form layout below."
12496-
msgstr ""
12495+
msgstr "輸入報表中你需要修改的部分"
1249712496

1249812497
#: FormDesigner.php:205
1249912498
msgid "All measurements are in PostScript points (72 points = 25,4 mm)."
12500-
msgstr ""
12499+
msgstr "所用的計量單位爲PostScript的點 (72點 = 25.4 毫米)"
1250112500

1250212501
#: FormDesigner.php:206
1250312502
msgid ""
1250412503
"All coordinates are measured from the lower left corner of the sheet to the "
1250512504
"top left corner of the element."
12506-
msgstr ""
12505+
msgstr "所有的坐標值均從紙張的左下角開始到元素的左上角"
1250712506

1250812507
#: FormDesigner.php:214
1250912508
#, fuzzy

0 commit comments

Comments
 (0)