Commit c166a91889924c4e16918e672b981bbb78ca9d3b

Authored by Georg Hopp
1 parent 7182a952

Löschen Button hinzugefügt...mehr internationalisierung

@@ -8,7 +8,7 @@ msgid "" @@ -8,7 +8,7 @@ msgid ""
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n" 9 "Project-Id-Version: PACKAGE VERSION\n"
10 "Report-Msgid-Bugs-To: \n" 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 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n" 14 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,72 +16,77 @@ msgstr "" @@ -16,72 +16,77 @@ msgstr ""
16 "Content-Type: text/plain; charset=CHARSET\n" 16 "Content-Type: text/plain; charset=CHARSET\n"
17 "Content-Transfer-Encoding: 8bit\n" 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 msgstr "" 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 msgstr "" 26 msgstr ""
32 27
33 -#: templates/personAdmin/personInUp.tpl.php:47 28 +#: templates/personAdmin/personInUp.tpl.php:31
34 msgid "update" 29 msgid "update"
35 msgstr "" 30 msgstr ""
36 31
37 -#: templates/personAdmin/personInUp.tpl.php:54 32 +#: templates/personAdmin/personInUp.tpl.php:38
38 msgid "insert" 33 msgid "insert"
39 msgstr "" 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 msgstr "" 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 msgstr "" 48 msgstr ""
48 49
49 -#: templates/personAdmin/personInUp.tpl.php:92 50 +#: templates/personAdmin/personInUp.tpl.php:93
50 msgid "company" 51 msgid "company"
51 msgstr "" 52 msgstr ""
52 53
53 -#: templates/personAdmin/personInUp.tpl.php:98 54 +#: templates/personAdmin/personInUp.tpl.php:99
54 msgid "email" 55 msgid "email"
55 msgstr "" 56 msgstr ""
56 57
57 -#: templates/personAdmin/personInUp.tpl.php:104 58 +#: templates/personAdmin/personInUp.tpl.php:105
58 msgid "url" 59 msgid "url"
59 msgstr "" 60 msgstr ""
60 61
61 -#: templates/personAdmin/personInUp.tpl.php:117 62 +#: templates/personAdmin/personInUp.tpl.php:120
62 msgid "photographer" 63 msgid "photographer"
63 msgstr "" 64 msgstr ""
64 65
65 -#: templates/personAdmin/personInUp.tpl.php:124 66 +#: templates/personAdmin/personInUp.tpl.php:129
66 msgid "cameraId" 67 msgid "cameraId"
67 msgstr "" 68 msgstr ""
68 69
69 -#: templates/personAdmin/personInUp.tpl.php:137 70 +#: templates/personAdmin/personInUp.tpl.php:144
70 msgid "owner" 71 msgid "owner"
71 msgstr "" 72 msgstr ""
72 73
73 -#: templates/personAdmin/personInUp.tpl.php:144 74 +#: templates/personAdmin/personInUp.tpl.php:154
74 msgid "watermark width" 75 msgid "watermark width"
75 msgstr "" 76 msgstr ""
76 77
77 -#: templates/personAdmin/personInUp.tpl.php:150 78 +#: templates/personAdmin/personInUp.tpl.php:160
78 msgid "watermark height" 79 msgid "watermark height"
79 msgstr "" 80 msgstr ""
80 81
81 -#: templates/personAdmin/personInUp.tpl.php:156 82 +#: templates/personAdmin/personInUp.tpl.php:166
82 msgid "watermark xPos" 83 msgid "watermark xPos"
83 msgstr "" 84 msgstr ""
84 85
85 -#: templates/personAdmin/personInUp.tpl.php:162 86 +#: templates/personAdmin/personInUp.tpl.php:172
86 msgid "watermark yPos" 87 msgid "watermark yPos"
87 msgstr "" 88 msgstr ""
  89 +
  90 +#: templates/personAdmin/personSearch1.tpl.php:37
  91 +msgid "search"
  92 +msgstr ""
@@ -159,9 +159,23 @@ function personInUp ( @@ -159,9 +159,23 @@ function personInUp (
159 } 159 }
160 160
161 if (updBox.checked == true || insBox.checked == true) 161 if (updBox.checked == true || insBox.checked == true)
  162 + {
  163 + submitButton.value = submit_str;
162 submitButton.disabled = false; 164 submitButton.disabled = false;
  165 + }
163 else 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 this.updateFields (person); 180 this.updateFields (person);
167 181
@@ -8,7 +8,7 @@ msgid "" @@ -8,7 +8,7 @@ msgid ""
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n" 9 "Project-Id-Version: PACKAGE VERSION\n"
10 "Report-Msgid-Bugs-To: \n" 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 "PO-Revision-Date: 2007-10-07 15:45+0200\n" 12 "PO-Revision-Date: 2007-10-07 15:45+0200\n"
13 "Last-Translator: <georg@steffers.org>\n" 13 "Last-Translator: <georg@steffers.org>\n"
14 "Language-Team: German\n" 14 "Language-Team: German\n"
@@ -17,72 +17,77 @@ msgstr "" @@ -17,72 +17,77 @@ msgstr ""
17 "Content-Transfer-Encoding: 8bit\n" 17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 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 msgid "update" 30 msgid "update"
36 msgstr "aktualisieren" 31 msgstr "aktualisieren"
37 32
38 -#: templates/personAdmin/personInUp.tpl.php:54 33 +#: templates/personAdmin/personInUp.tpl.php:38
39 msgid "insert" 34 msgid "insert"
40 msgstr "einfügen" 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 msgid "personal data" 38 msgid "personal data"
48 msgstr "Perönliche Daten" 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 msgid "company" 52 msgid "company"
52 msgstr "Firma" 53 msgstr "Firma"
53 54
54 -#: templates/personAdmin/personInUp.tpl.php:98 55 +#: templates/personAdmin/personInUp.tpl.php:99
55 msgid "email" 56 msgid "email"
56 msgstr "eMail" 57 msgstr "eMail"
57 58
58 -#: templates/personAdmin/personInUp.tpl.php:104 59 +#: templates/personAdmin/personInUp.tpl.php:105
59 msgid "url" 60 msgid "url"
60 msgstr "Homepage" 61 msgstr "Homepage"
61 62
62 -#: templates/personAdmin/personInUp.tpl.php:117 63 +#: templates/personAdmin/personInUp.tpl.php:120
63 msgid "photographer" 64 msgid "photographer"
64 msgstr "Fotograf" 65 msgstr "Fotograf"
65 66
66 -#: templates/personAdmin/personInUp.tpl.php:124 67 +#: templates/personAdmin/personInUp.tpl.php:129
67 msgid "cameraId" 68 msgid "cameraId"
68 msgstr "Kamera ID" 69 msgstr "Kamera ID"
69 70
70 -#: templates/personAdmin/personInUp.tpl.php:137 71 +#: templates/personAdmin/personInUp.tpl.php:144
71 msgid "owner" 72 msgid "owner"
72 msgstr "Besitzer" 73 msgstr "Besitzer"
73 74
74 -#: templates/personAdmin/personInUp.tpl.php:144 75 +#: templates/personAdmin/personInUp.tpl.php:154
75 msgid "watermark width" 76 msgid "watermark width"
76 msgstr "Wasserzeichen Breite" 77 msgstr "Wasserzeichen Breite"
77 78
78 -#: templates/personAdmin/personInUp.tpl.php:150 79 +#: templates/personAdmin/personInUp.tpl.php:160
79 msgid "watermark height" 80 msgid "watermark height"
80 msgstr "Wasserzeichen Höhe" 81 msgstr "Wasserzeichen Höhe"
81 82
82 -#: templates/personAdmin/personInUp.tpl.php:156 83 +#: templates/personAdmin/personInUp.tpl.php:166
83 msgid "watermark xPos" 84 msgid "watermark xPos"
84 msgstr "Wasserzeichen X" 85 msgstr "Wasserzeichen X"
85 86
86 -#: templates/personAdmin/personInUp.tpl.php:162 87 +#: templates/personAdmin/personInUp.tpl.php:172
87 msgid "watermark yPos" 88 msgid "watermark yPos"
88 msgstr "Wasserzeichen Y" 89 msgstr "Wasserzeichen Y"
  90 +
  91 +#: templates/personAdmin/personSearch1.tpl.php:37
  92 +msgid "search"
  93 +msgstr "Suche"
1 <script language="javascript"> 1 <script language="javascript">
2 //<![CDATA[ 2 //<![CDATA[
  3 + submit_str = '<?=_('submit')?>';
  4 + delete_str = '<?=_('delete')?>';
  5 +
3 pInUp = new personInUp ( 6 pInUp = new personInUp (
4 'update', 'insert', 'submit', person, newPerson, arrRight, arrDown); 7 'update', 'insert', 'submit', person, newPerson, arrRight, arrDown);
5 8
Please register or login to post a comment