- 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
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
- 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
- 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
- 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
- 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
- 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
- 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
$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
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
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
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
- 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
(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
new language variables:
$PALANG['pStatus_undeliverable'] = 'maybe UNDELIVERABLE ';
$PALANG['pStatus_custom'] = 'Delivers to ';
$PALANG['pStatus_popimap'] = 'POP/IMAP ';
Some bug fixes. Maybe some new bugs added.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@46 a1433add-5e2c-0410-b055-b7f2511e0802
edit vacation messages, and remove them.
main.php added to admin directory so admin and / can share more
templates.
the new edit-vacation.php in admin and / are identical except
for template references
languages/en.lang and languages/default.lang are in sync now
I attempted to add some of the new .lang variables I created to
the spanish file (I don't know it that well, hope its OK)
fixed a bug in users/vacation.php
Added a "Main" menu item to the admin menu that gets you back to where
you started when you log in.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@2 a1433add-5e2c-0410-b055-b7f2511e0802