Commit Graph

19 Commits (44c3ac5e201ec7ec37e1681527b0b659bb8ba297)

Author SHA1 Message Date
Christian Boltz 44c3ac5e20
language-update.sh: silence warning about undefined $CONF variable
This warning was for example

PHP Notice:  Undefined variable: CONF in .../languages/en.lang on line 184

and is caused by some texts that include $CONF['admin_name']
4 years ago
David Goodwin 2cf73f704a $0 may not be in $PATH 5 years ago
Christian Boltz a26e25a03a language-update.sh:
- add a hint about --forcepatch to --patch help
- some whitespace fixes in help


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1686 a1433add-5e2c-0410-b055-b7f2511e0802
10 years ago
Christian Boltz 6e2e132bac remove "postfixadmin.com" in comments in lots of files
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1558 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz 703f7a31cf language-update.sh:
- update transtation guidelines


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1478 a1433add-5e2c-0410-b055-b7f2511e0802
11 years ago
Christian Boltz 4010127bf7 language-update.sh:
- delete *.orig files on cleanup


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1258 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
Christian Boltz 6af24d6e80 language-update.sh:
- better readable output for --comparetext


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1148 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
Christian Boltz 80389ec0e3 language-update.sh:
- new parameter --comparetext to compare two texts in $PALANG.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1138 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
Christian Boltz 408c257659 *.lang:
- new texts 'show' and 'all' for list-virtual (see r1054)
- marked 'pOverview_alias_domain_target' as obsolete (no longer needed since r1052)

de.lang:
- added some translations

language-update.sh:
- made --obsolete working


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1055 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
Christian Boltz 3e2b6c506f language-update.sh:
- new parameter --obsolete to mark a text as obsolete


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1040 a1433add-5e2c-0410-b055-b7f2511e0802
13 years ago
Christian Boltz 76dc501a52 *.lang:
- added missing strings

language-update.sh:
- made --forcepatch more robust


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@772 a1433add-5e2c-0410-b055-b7f2511e0802
15 years ago
Christian Boltz 2411cd7765 login.php
- put '<span class="error_msg">' and '</span>' into login.php, not in *.lang

languages/*.lang:
- removed pLogin_username_incorrect and pLogin_password_incorrect texts
- added pLogin_failed to all translations (without the wrapping <span>)
- removed the <span> from pLogin_failed in en.lang and fi.lang

translation-update.sh:
- added "--remove string" option to remove texts from language files



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@550 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz c67c3cba00 *.lang:
- included all texts for domain aliases to the *.lang files

language-update.sh:
- new parameter --forcepatch
  Similar to --patch, but applies the patch line by line. Useful if 
  --patch fails because of empty lines etc., but much slower.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@365 a1433add-5e2c-0410-b055-b7f2511e0802
16 years ago
Christian Boltz a2bd792e9e language-update.sh:
- new parameter --addcomment - adds a comment to all *.lang files except en.lang
  Useful if a text has changed and needs to be re-translated.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@264 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e78a64d6ff language-update.sh
- added translation statistics script (new parameter --stats)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@257 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz a3aef5dd40 - added --rename to rename a $PALANG string
- put most code into functions
- lots of whitespace changes and code reordering - this makes the diff 
  nearly useless, sorry


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@229 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f541634e39 - renamed -$PALANG['pViewlog_action_edit_alias_state'] to
$PALANG['pViewlog_action_edit_alias_active'] - fixes undefined
  messages in viewlog.php
- added some new strings to the language files
- pFetchmail_* strings were at the wrong location in several languages
- enforce at least one line of matching context in language-check.sh
  This might cause rejects (especially if there are empty lines next to
  the change), but avoids that strings are inserted at the wrong position



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@195 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz faa1de78b1 - language-check.sh: add check for duplicated strings
- remove duplicated strings in bg.lang


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@156 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 60b76320e7 - added language-update.sh
Script to update the language files, with lots of tricky bash code ;-)

  MUST be run everytime you add a string to en.lang.

      ./language-update.sh --patch
  should do the job, unless something goes wrong.

      ./language-update.sh --help
  prints all available options.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@155 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago