Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9a22f14c

Von Moritz Bunkus vor mehr als 19 Jahren hinzugefügt

  • ID 9a22f14c16b2ba3ee47bc2ea0c97078260e3c167
  • Vorgänger 85067f88
  • Nachfolger de763d70

Probleme durch perltidy. Der sehr pingelige Parser von locales.pl akzeptiert Begriffe fuer Funktionen, die in einem Formular mit <input type=submit...> genannt werden, nur dann, wenn das $locale->text() in der gleichen Zeile wie type=submit steht. Dieses habe ich geaendert. Weitere Probleme gab es, wenn perltidy bei sehr langen Strings zu $locale->text() den sehr langen Text in eine eigene Zeile gepackt hat, weil auch hier locales.pl den zu uebersetzenden Text direkt hinter $locale->text( erwartet.

Unterschiede anzeigen:

bin/mozilla/admin.pl
| . $locale->text('Click on login name to edit!') . qq|
<br>
|
. $locale->text(
'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.'
)
. $locale->text('To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.')
. qq|
<p>
......
&dbdriver_defaults;
$msg{Pg} =
$locale->text(
'Leave host and port field empty unless you want to make a remote connection.'
);
$locale->text('Leave host and port field empty unless you want to make a remote connection.');
$msg{Oracle} =
$locale->text(
'You must enter a host and port for local and remote connections!');
$locale->text('You must enter a host and port for local and remote connections!');
$form->{title} =
"Lx-Office ERP / " . $locale->text('Database Administration');
......
</table>
<p>|
. $locale->text(
'This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!'
)
. $locale->text('This is a preliminary check for existing sources. Nothing will be created or deleted at this stage!')
. qq|
<br>$msg{$form->{dbdriver}}

Auch abrufbar als: Unified diff