Commit 8a1a26da authored by Nigel McNie's avatar Nigel McNie
Browse files

Make the 'search' string translatable in userlist.tpl (thanks to Heinz)

parent 5d51896a
...@@ -127,6 +127,12 @@ function pieform_element_bytes_i18n() { ...@@ -127,6 +127,12 @@ function pieform_element_bytes_i18n() {
'megabytes' => 'Megabytes', 'megabytes' => 'Megabytes',
'invalidvalue' => 'Value must be a number', 'invalidvalue' => 'Value must be a number',
), ),
'de.utf8' => array(
'bytes' => 'Bytes',
'kilobytes' => 'Kilobytes',
'megabytes' => 'Megabytes',
'invalidvalue' => 'Wert muss eine Zahl sein',
),
); );
} }
......
...@@ -154,7 +154,10 @@ function pieform_element_calendar_i18n() { ...@@ -154,7 +154,10 @@ function pieform_element_calendar_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'invalidvalue' => 'Invalid date/time specified' 'invalidvalue' => 'Invalid date/time specified'
) ),
'de.utf8' => array(
'invalidvalue' => 'Datum/Zeit sind falsch festgelegt'
),
); );
} }
......
...@@ -132,7 +132,11 @@ function pieform_element_date_i18n() { ...@@ -132,7 +132,11 @@ function pieform_element_date_i18n() {
'en.utf8' => array( 'en.utf8' => array(
'or' => 'or', 'or' => 'or',
'notspecified' => 'Not specified' 'notspecified' => 'Not specified'
) ),
'de.utf8' => array(
'or' => 'oder',
'notspecified' => 'Nicht festgelegt'
),
); );
} }
......
...@@ -46,7 +46,10 @@ function pieform_rule_email_i18n() { ...@@ -46,7 +46,10 @@ function pieform_rule_email_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'email' => 'E-mail address is invalid' 'email' => 'E-mail address is invalid'
) ),
'de.utf8' => array(
'email' => 'Die E-Mail Addresse ist ungültig'
),
); );
} }
......
...@@ -43,7 +43,10 @@ function pieform_rule_integer_i18n() { ...@@ -43,7 +43,10 @@ function pieform_rule_integer_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'integer' => 'The field must be an integer' 'integer' => 'The field must be an integer'
) ),
'de.utf8' => array(
'integer' => 'Das Feld muss eine Zahl sein'
),
); );
} }
......
...@@ -43,7 +43,10 @@ function pieform_rule_maxlength_i18n() { ...@@ -43,7 +43,10 @@ function pieform_rule_maxlength_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'maxlength' => 'This field must be at most %d characters long' 'maxlength' => 'This field must be at most %d characters long'
) ),
'de.utf8' => array(
'maxlength' => 'Das Feld darf höchstens %d Zeichen lang sein'
),
); );
} }
......
...@@ -43,7 +43,10 @@ function pieform_rule_minlength_i18n() { ...@@ -43,7 +43,10 @@ function pieform_rule_minlength_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'minlength' => 'This field must be at least %d characters long', 'minlength' => 'This field must be at least %d characters long',
) ),
'de.utf8' => array(
'minlength' => 'Das Feld muss zumindest %d Zeichen lang sein',
),
); );
} }
......
...@@ -44,7 +44,10 @@ function pieform_rule_regex_i18n() { ...@@ -44,7 +44,10 @@ function pieform_rule_regex_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'regex' => 'This field is not in valid form' 'regex' => 'This field is not in valid form'
) ),
'de.utf8' => array(
'regex' => 'Das Feld hat keine zulässige Form'
),
); );
} }
......
...@@ -43,7 +43,10 @@ function pieform_rule_required_i18n() { ...@@ -43,7 +43,10 @@ function pieform_rule_required_i18n() {
return array( return array(
'en.utf8' => array( 'en.utf8' => array(
'required' => 'This field is required' 'required' => 'This field is required'
) ),
'de.utf8' => array(
'required' => 'Das Feld ist erforderlich'
),
); );
} }
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
</tr> </tr>
<tr> <tr>
<td colspan="3"> <td colspan="3">
<label for="{{$name}}_search">Search:</label><input id="{{$name}}_search" type="text" class="text"> <button id="{{$name}}_search_btn" type="button" class="button">{{str tag="go"}}</button> <label for="{{$name}}_search">{{str tag='search'}}:</label><input id="{{$name}}_search" type="text" class="text"> <button id="{{$name}}_search_btn" type="button" class="button">{{str tag="go"}}</button>
</td> </td>
</tr> </tr>
</table> </table>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment