Commit Graph

6 Commits (a71669fba8d658db9668b40eccb25e864ed54903)

Author SHA1 Message Date
Adrien Crivelli 15df6c1d7b
Reformat everything with PHP-Cs-Fixer 7 years ago
Christian Boltz 2a680d22c6 Add Romanian translation
Thanks to Dan <dannyro @SF> for providing this new translation!
https://sourceforge.net/p/postfixadmin/patches/132/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1859 a1433add-5e2c-0410-b055-b7f2511e0802
8 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
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 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