Commit c166a91889924c4e16918e672b981bbb78ca9d3b
1 parent
7182a952
Löschen Button hinzugefügt...mehr internationalisierung
Showing
5 changed files
with
85 additions
and
58 deletions
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2007-10-08 03:09+0200\n" | |
11 | +"POT-Creation-Date: 2007-10-09 00:13+0200\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -16,72 +16,77 @@ msgstr "" |
16 | 16 | "Content-Type: text/plain; charset=CHARSET\n" |
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
18 | 18 | |
19 | -#: templates/personAdmin/personSearch1.tpl.php:37 | |
20 | -msgid "search" | |
21 | -msgstr "" | |
22 | - | |
23 | -#: templates/personAdmin/personSearch1.tpl.php:45 | |
24 | -#: templates/personAdmin/personInUp.tpl.php:86 | |
25 | -msgid "surname" | |
19 | +#: templates/personAdmin/personInUp.tpl.php:3 | |
20 | +#: templates/personAdmin/personInUp.tpl.php:55 | |
21 | +msgid "submit" | |
26 | 22 | msgstr "" |
27 | 23 | |
28 | -#: templates/personAdmin/personSearch1.tpl.php:56 | |
29 | -#: templates/personAdmin/personInUp.tpl.php:80 | |
30 | -msgid "firstname" | |
24 | +#: templates/personAdmin/personInUp.tpl.php:4 | |
25 | +msgid "delete" | |
31 | 26 | msgstr "" |
32 | 27 | |
33 | -#: templates/personAdmin/personInUp.tpl.php:47 | |
28 | +#: templates/personAdmin/personInUp.tpl.php:31 | |
34 | 29 | msgid "update" |
35 | 30 | msgstr "" |
36 | 31 | |
37 | -#: templates/personAdmin/personInUp.tpl.php:54 | |
32 | +#: templates/personAdmin/personInUp.tpl.php:38 | |
38 | 33 | msgid "insert" |
39 | 34 | msgstr "" |
40 | 35 | |
41 | -#: templates/personAdmin/personInUp.tpl.php:57 | |
42 | -msgid "submit" | |
36 | +#: templates/personAdmin/personInUp.tpl.php:61 | |
37 | +msgid "personal data" | |
43 | 38 | msgstr "" |
44 | 39 | |
45 | -#: templates/personAdmin/personInUp.tpl.php:63 | |
46 | -msgid "personal data" | |
40 | +#: templates/personAdmin/personInUp.tpl.php:81 | |
41 | +#: templates/personAdmin/personSearch1.tpl.php:56 | |
42 | +msgid "firstname" | |
43 | +msgstr "" | |
44 | + | |
45 | +#: templates/personAdmin/personInUp.tpl.php:87 | |
46 | +#: templates/personAdmin/personSearch1.tpl.php:45 | |
47 | +msgid "surname" | |
47 | 48 | msgstr "" |
48 | 49 | |
49 | -#: templates/personAdmin/personInUp.tpl.php:92 | |
50 | +#: templates/personAdmin/personInUp.tpl.php:93 | |
50 | 51 | msgid "company" |
51 | 52 | msgstr "" |
52 | 53 | |
53 | -#: templates/personAdmin/personInUp.tpl.php:98 | |
54 | +#: templates/personAdmin/personInUp.tpl.php:99 | |
54 | 55 | msgid "email" |
55 | 56 | msgstr "" |
56 | 57 | |
57 | -#: templates/personAdmin/personInUp.tpl.php:104 | |
58 | +#: templates/personAdmin/personInUp.tpl.php:105 | |
58 | 59 | msgid "url" |
59 | 60 | msgstr "" |
60 | 61 | |
61 | -#: templates/personAdmin/personInUp.tpl.php:117 | |
62 | +#: templates/personAdmin/personInUp.tpl.php:120 | |
62 | 63 | msgid "photographer" |
63 | 64 | msgstr "" |
64 | 65 | |
65 | -#: templates/personAdmin/personInUp.tpl.php:124 | |
66 | +#: templates/personAdmin/personInUp.tpl.php:129 | |
66 | 67 | msgid "cameraId" |
67 | 68 | msgstr "" |
68 | 69 | |
69 | -#: templates/personAdmin/personInUp.tpl.php:137 | |
70 | +#: templates/personAdmin/personInUp.tpl.php:144 | |
70 | 71 | msgid "owner" |
71 | 72 | msgstr "" |
72 | 73 | |
73 | -#: templates/personAdmin/personInUp.tpl.php:144 | |
74 | +#: templates/personAdmin/personInUp.tpl.php:154 | |
74 | 75 | msgid "watermark width" |
75 | 76 | msgstr "" |
76 | 77 | |
77 | -#: templates/personAdmin/personInUp.tpl.php:150 | |
78 | +#: templates/personAdmin/personInUp.tpl.php:160 | |
78 | 79 | msgid "watermark height" |
79 | 80 | msgstr "" |
80 | 81 | |
81 | -#: templates/personAdmin/personInUp.tpl.php:156 | |
82 | +#: templates/personAdmin/personInUp.tpl.php:166 | |
82 | 83 | msgid "watermark xPos" |
83 | 84 | msgstr "" |
84 | 85 | |
85 | -#: templates/personAdmin/personInUp.tpl.php:162 | |
86 | +#: templates/personAdmin/personInUp.tpl.php:172 | |
86 | 87 | msgid "watermark yPos" |
87 | 88 | msgstr "" |
89 | + | |
90 | +#: templates/personAdmin/personSearch1.tpl.php:37 | |
91 | +msgid "search" | |
92 | +msgstr "" | ... | ... |
... | ... | @@ -159,9 +159,23 @@ function personInUp ( |
159 | 159 | } |
160 | 160 | |
161 | 161 | if (updBox.checked == true || insBox.checked == true) |
162 | + { | |
163 | + submitButton.value = submit_str; | |
162 | 164 | submitButton.disabled = false; |
165 | + } | |
163 | 166 | else |
164 | - submitButton.disabled = true; | |
167 | + { | |
168 | + if (this.person.personId != -1) | |
169 | + { | |
170 | + submitButton.value = delete_str; | |
171 | + submitButton.disabled = false; | |
172 | + } | |
173 | + else | |
174 | + { | |
175 | + submitButton.value = submit_str; | |
176 | + submitButton.disabled = true; | |
177 | + } | |
178 | + } | |
165 | 179 | |
166 | 180 | this.updateFields (person); |
167 | 181 | ... | ... |
No preview for this file type
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2007-10-08 03:09+0200\n" | |
11 | +"POT-Creation-Date: 2007-10-09 00:13+0200\n" | |
12 | 12 | "PO-Revision-Date: 2007-10-07 15:45+0200\n" |
13 | 13 | "Last-Translator: <georg@steffers.org>\n" |
14 | 14 | "Language-Team: German\n" |
... | ... | @@ -17,72 +17,77 @@ msgstr "" |
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
18 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 | 19 | |
20 | -#: templates/personAdmin/personSearch1.tpl.php:37 | |
21 | -msgid "search" | |
22 | -msgstr "Suche" | |
23 | - | |
24 | -#: templates/personAdmin/personSearch1.tpl.php:45 | |
25 | -#: templates/personAdmin/personInUp.tpl.php:86 | |
26 | -msgid "surname" | |
27 | -msgstr "Vorname" | |
20 | +#: templates/personAdmin/personInUp.tpl.php:3 | |
21 | +#: templates/personAdmin/personInUp.tpl.php:55 | |
22 | +msgid "submit" | |
23 | +msgstr "senden" | |
28 | 24 | |
29 | -#: templates/personAdmin/personSearch1.tpl.php:56 | |
30 | -#: templates/personAdmin/personInUp.tpl.php:80 | |
31 | -msgid "firstname" | |
32 | -msgstr "Nachname" | |
25 | +#: templates/personAdmin/personInUp.tpl.php:4 | |
26 | +msgid "delete" | |
27 | +msgstr "löschen" | |
33 | 28 | |
34 | -#: templates/personAdmin/personInUp.tpl.php:47 | |
29 | +#: templates/personAdmin/personInUp.tpl.php:31 | |
35 | 30 | msgid "update" |
36 | 31 | msgstr "aktualisieren" |
37 | 32 | |
38 | -#: templates/personAdmin/personInUp.tpl.php:54 | |
33 | +#: templates/personAdmin/personInUp.tpl.php:38 | |
39 | 34 | msgid "insert" |
40 | 35 | msgstr "einfügen" |
41 | 36 | |
42 | -#: templates/personAdmin/personInUp.tpl.php:57 | |
43 | -msgid "submit" | |
44 | -msgstr "abschicken" | |
45 | - | |
46 | -#: templates/personAdmin/personInUp.tpl.php:63 | |
37 | +#: templates/personAdmin/personInUp.tpl.php:61 | |
47 | 38 | msgid "personal data" |
48 | 39 | msgstr "Perönliche Daten" |
49 | 40 | |
50 | -#: templates/personAdmin/personInUp.tpl.php:92 | |
41 | +#: templates/personAdmin/personInUp.tpl.php:81 | |
42 | +#: templates/personAdmin/personSearch1.tpl.php:56 | |
43 | +msgid "firstname" | |
44 | +msgstr "Nachname" | |
45 | + | |
46 | +#: templates/personAdmin/personInUp.tpl.php:87 | |
47 | +#: templates/personAdmin/personSearch1.tpl.php:45 | |
48 | +msgid "surname" | |
49 | +msgstr "Vorname" | |
50 | + | |
51 | +#: templates/personAdmin/personInUp.tpl.php:93 | |
51 | 52 | msgid "company" |
52 | 53 | msgstr "Firma" |
53 | 54 | |
54 | -#: templates/personAdmin/personInUp.tpl.php:98 | |
55 | +#: templates/personAdmin/personInUp.tpl.php:99 | |
55 | 56 | msgid "email" |
56 | 57 | msgstr "eMail" |
57 | 58 | |
58 | -#: templates/personAdmin/personInUp.tpl.php:104 | |
59 | +#: templates/personAdmin/personInUp.tpl.php:105 | |
59 | 60 | msgid "url" |
60 | 61 | msgstr "Homepage" |
61 | 62 | |
62 | -#: templates/personAdmin/personInUp.tpl.php:117 | |
63 | +#: templates/personAdmin/personInUp.tpl.php:120 | |
63 | 64 | msgid "photographer" |
64 | 65 | msgstr "Fotograf" |
65 | 66 | |
66 | -#: templates/personAdmin/personInUp.tpl.php:124 | |
67 | +#: templates/personAdmin/personInUp.tpl.php:129 | |
67 | 68 | msgid "cameraId" |
68 | 69 | msgstr "Kamera ID" |
69 | 70 | |
70 | -#: templates/personAdmin/personInUp.tpl.php:137 | |
71 | +#: templates/personAdmin/personInUp.tpl.php:144 | |
71 | 72 | msgid "owner" |
72 | 73 | msgstr "Besitzer" |
73 | 74 | |
74 | -#: templates/personAdmin/personInUp.tpl.php:144 | |
75 | +#: templates/personAdmin/personInUp.tpl.php:154 | |
75 | 76 | msgid "watermark width" |
76 | 77 | msgstr "Wasserzeichen Breite" |
77 | 78 | |
78 | -#: templates/personAdmin/personInUp.tpl.php:150 | |
79 | +#: templates/personAdmin/personInUp.tpl.php:160 | |
79 | 80 | msgid "watermark height" |
80 | 81 | msgstr "Wasserzeichen Höhe" |
81 | 82 | |
82 | -#: templates/personAdmin/personInUp.tpl.php:156 | |
83 | +#: templates/personAdmin/personInUp.tpl.php:166 | |
83 | 84 | msgid "watermark xPos" |
84 | 85 | msgstr "Wasserzeichen X" |
85 | 86 | |
86 | -#: templates/personAdmin/personInUp.tpl.php:162 | |
87 | +#: templates/personAdmin/personInUp.tpl.php:172 | |
87 | 88 | msgid "watermark yPos" |
88 | 89 | msgstr "Wasserzeichen Y" |
90 | + | |
91 | +#: templates/personAdmin/personSearch1.tpl.php:37 | |
92 | +msgid "search" | |
93 | +msgstr "Suche" | ... | ... |
Please
register
or
login
to post a comment