Commit Graph

69 Commits (90eeacf274a018b432a5c9fcb4352863e53516e8)

Author SHA1 Message Date
Christian Boltz 90eeacf274 tw.lang:
- freshly translated by by John Chen (johnpupu @SF), based on cn.lang
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1986622&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@394 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f9301eb6c5 ru.lang:
- translation update by Pavel Usischev - pusischev
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=2003105&group_id=191583

nb.lang:
- enabled SVN keyword expansion


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@393 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8bf1146dd2 nl.lang:
- updated by Johan Hendriks (sylhouette)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1974742&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@376 a1433add-5e2c-0410-b055-b7f2511e0802
17 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
17 years ago
David Goodwin 370e8fef6c inital merge of lenix's patch for domain aliasing; I think list-virtual.php needs some attention, but I've run out of time right now; upgrade.php has been updated to create the tables correctly (tested on pgsql and mysql); functionality or php scripts not tested yet
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@363 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b1b5958afe Norwegian (bokmal) translation - provided by oddhenriksen
Thanks!

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@360 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b89f06a2a8 cs.lang: update from amsys; thanks
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@346 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 1e59f15f96 ja.lang:
- added some missing translation markers


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@331 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz da8dcdd031 nl.lang:
- translation update by Johan Hendriks (sylhouette @SF)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1910916&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@313 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz dd86e330db sv.lang:
- translation update (received via mail)
  thanks to Bachman Kharazmi <bachman AT tor.lindesign.se>


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@312 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 9a083d999f language.php:
- added japanese translation of "japanese" - taken from phpMyAdmin ;-)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@301 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz d5f85a7a34 ja.lang:
- NEW: japanese translation added
  by Daisuke Aoyama <aoyama at peach dot ne dot jp> / daoyama @SF

language.php:
- added ja to list of available languages
- added comment about the content of the language list


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@300 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 33e0c0de50 ru.lang:
- translation update by Pavel Usischev (pusischev) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1869896&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@292 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 8f637b2162 de.lang:
- small fix: Mailboxes -> Mailboxen


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@290 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz f217f0c1bb Summary: Added language selector to login form
functions.inc.php:
- function check_language
  - new optional parameter $use_post (needed by login.php)
  - check for language cookie
  - check for $_POST['lang']
  - removed substr() call because it made pt-br translation unuseable
- new function language_selector
  - returns a HTML dropdown language selector
- new function safecookie
  - similar to safeget, but for cookies

templates/login.php, templates/users_login.php:
- display language selector dropdown

login.php, users/login.php:
- check for selected language
- set cookie if user selected non-default language

languages/language.php: (NEW FILE)
- list of supported languages
- language names taken from phpMyAdmin login form

common.php:
- include languages/language.php
 


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@280 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 40045401d3 users/password.php:
- fixed syntax error
  https://sourceforge.net/tracker/index.php?func=detail&aid=1852533&group_id=191583&atid=937964
- use correct string for "password too short" message 
  (see r270 commit message)

en.lang:
- added usage comment on PALANG['pPasswordTooShort']


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@275 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz bbfb953ebe da.lang:
- translation update by jespermeyer - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1851126&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@269 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 282e90691f *.lang:
- added re-translation comments for pSendmail_result_error and 
  pSendmail_result_success

de.lang:
- re-translated the two strings listed above


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@265 a1433add-5e2c-0410-b055-b7f2511e0802
17 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 af19e515ed - removed duplicate, unused string $PALANG['pPassword_too_short_error'] again.
Please use the existing string pPasswordTooShort


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@263 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin d688b00197 languages/en.lang: fix string for successful mail sending
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@262 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
David Goodwin b97855ba0b en.lang: add error message if password is too short
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@261 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 e74a109dc7 sv.lang:
- more translations by Jan Örnstedt (ornstedt)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1834023&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@245 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0c69533dd7 da.lang:
- language upate by Jesper R. Meyer (jespermeyer) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1839068&group_id=191583

sv.lang:
- fixed an &Ouml that was accidently inserted by my editor


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@244 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3412aebb85 it.lang:
- italian language update by Luca Accomazzi (luca AT accomazzi DOT it)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@241 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz ea83fd8b9a fr.lang
- updated by Francois Grange (rumbaya @sf) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1835209&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@239 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz e5bfb81e86 *.lang:
- now that broadcast is in a submenu, there's no need to use "BC" 
  instead of "broadcast".
  Changed in en.lang and all languages where it isn't translated yet.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@237 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 850a449bde sv.lang:
- translation update by Jan Örnstedt (ornstedt) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1834023&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@233 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fff08905e5 *.lang
- rename $PALANG['pViewlog_action_edit_alias_active']
  to      $PALANG['pViewlog_action_edit_alias_state']
  https://sourceforge.net/tracker/index.php?func=detail&aid=1830376&group_id=191583&atid=937964


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@230 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
David Goodwin bd3aa027d5 nl.lang: updated by Johan Hendriks (sylhouette) - thank you!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@227 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 0ee06175d4 *.lang:
- checked for untranslated strings and added XXX markers
- added maintainer as a comment (taken from svn log and SF)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@222 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz cf77d1c91e ru.lang:
- language update by Pavel Usischev (pusischev) - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1831782&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@221 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 18cebb5622 fetchmail.php:
- made edit form labels and descriptions translatable. This means that
  $fm_struct no longer holds the labels and descriptions
- fixed HTML error (missing > for </span>
- added some comments to document the main "if" block

fetchmail.tpl:
- changed button order and placement to make <enter> saving the entry
- made save and cancel buttons translatable
  Thanks to Johan for the reminder
  https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1830326&group_id=191583
- made edit form labels and descriptions translatable. This also means
  reworking of some list(...) = $fm_struct[$row] sections

*.lang:
- added translations for "Save" and "Cancel" buttons
- added translations for edit form labels and descriptions

de.lang:
- translated fetchmail-related texts


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@220 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c7cd4a8de4 nl.lang
- updated by an anonymous SF user. Whoever you are - thanks!
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1830377&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@216 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 3aa9032cd9 list-virtual.tpl
- made '[and x more...]' translatable

*.lang:
- added 'and_x_more'
- added $Id$ keyword
- enabled expansion of $Id$ and $Rev$


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@208 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 87ed834c9c updated translations:
- ru.lang updated by Pavel Usischev (pusischev)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1828828&group_id=191583
- da.lang updated by Jesper R. Meyer (jespermeyer)
  https://sourceforge.net/tracker/?func=detail&atid=937966&aid=1828916&group_id=191583

Thanks!


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@205 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 2f25e8bd42 The work of two nights causes a long changelog. Here we go:
fetchmail.php:
- IMPORTANT: fixed typo in database column name. If you have created the
  fetchmail database already, you have to rename the "pool_time" column
  to "poll_time"
- fixed adding of new entries
- don't display status fields (last poll date and result) in edit mode
- validate and quote the GET and POST variables
- show POSTed data again if invalid values were entered (data to display
  in the edit form is passed to fetchmail.tpl in $formvars)
- check results of database operations and display error/success
  messages
- check owner of target mailbox on all operations
- changed password handling: empty means no change (instead of sending
  "******" around)
- reworked and moved around large code portions
- added some TODO notes

fetchmail.tpl:
- use data from $formvars in edit mode instead of parsing the full array
- moved "new entry" below the table
- replaced delete button with delete links
- Note: the boolean fields need testing with PgSQL. Especially test if
  they are displayed as active correctly in list and edit mode!

*.lang:
- added several fetchmail-related strings, more to follow
- added $PALANG['please_keep_this_as_last_entry'] which always has to be
  the last entry in the language files. This solves the problem that
  language-check.sh mixes up the string order when adding strings at the
  end of the language files.
- added vim:ft=php



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@163 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 57589b0442 - updated ru.lang - thanks to Pavel Usischev (pusischev)
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1815063&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@158 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
Christian Boltz 194ae6842d - included missing strings into every language file (in english, with
a '# XXX' comment for translators). This makes translation easier.
- added vim: comment to all language files
- this obsoletes default.lang - removed


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@154 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 5352a5cd49 - fr.lang translation update by Francois Grange - thanks!
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1811005&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@153 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz b424d39574 - added fetchmail.php to menu.tpl (only displayed if $CONF['fetchmail'] == 'YES')
- shortened german menu text for fetchmail
- config.inc.php:
  - added $CONF['fetchmail'] and $CONF['fetchmail_extra_options'], including
    a big warning for the latter one.
  - include config.inc.php at the end if it exists. This can make future
    updates easier because you don't have to edit config.inc.php itsself.
    It should also make development easier because you don't need to undo
    local changes before commiting config.inc.php
- fetchmail.tpl:
  - new array display_fields, contains the list of fields to display in the
    table. This also solves most "undefined index" warnings.

Note: editing fetchmail does not honor $CONF['fetchmail_extra_options'] = 'NO' yet.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@151 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 430643b4dd - another hu.lang translation by Levente Farkas - thanks again!
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@149 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz 31fa1b6001 - updated hu.lang. Thanks to Levente Farkas <lfarkas at lfarkas dot org>
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=1810646&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@148 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz fdf00fe4c4 - added several german translations
- fixed a typo in fr.lang
- removed some no longer used translations from en.lang, cs.lang and es.lang


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@145 a1433add-5e2c-0410-b055-b7f2511e0802
17 years ago
Christian Boltz c4040c8227 - initial version of fetchmail support (by Viktor Gotwig,info AT symateam.de)
(see postfixadmin-devel mailinglist for detailed description and known 
  problems, subject "fetchmail support")
- encoded some german umlauts as htmlentities


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