1 (edited by ssb 2005-04-05 11:31)

Topic: Admin CP Localization Mod 1.0.0

##
##        Mod title:  Admin CP Localization
##
##      Mod version:      1.0.6
##   Works with PunBB:    1.2.4
##    Based on latest     1.2.4 SVN (159)
##     Release date:      2005-04-05
##           Author:      Sakis (aka SSB) (ssb@in.gr)
##
##      Description:      Localization mod for PunBB administration control panel
##
##   Affected files:      \admin_bans.php
##                        \admin_categories.php
##                        \admin_censoring.php
##                        \admin_forums.php
##                        \admin_groups.php
##                        \admin_index.php
##                        \admin_loader.php
##                        \admin_maintenance.php
##                        \admin_options.php
##                        \admin_permissions.php
##                        \admin_prune.php
##                        \admin_ranks.php
##                        \admin_reports.php
##                        \admin_users.php
##                        \moderate.php                {A few changes to enable IP stats localization)
##                        \include\common_admin.php    {Used by Admin CP)
##                        \lang\English\common.php    (Just the last four lines)
##
##          New files:    \lang\English\adm_bans.php
##                        \lang\English\adm_categories.php
##                        \lang\English\adm_censoring.php
##                        \lang\English\adm_common.php
##                        \lang\English\adm_forums.php
##                        \lang\English\adm_groups.php
##                        \lang\English\adm_index.php
##                        \lang\English\adm_maintenance.php
##                        \lang\English\adm_options.php
##                        \lang\English\adm_permissions.php
##                        \lang\English\adm_prune.php
##                        \lang\English\adm_ranks.php
##                        \lang\English\adm_reports.php
##                        \lang\English\adm_users.php
##
##       Affects DB:      No
##
##            Notes:      Coded with minimum changes to the original PunBB-files.
##                        A few messages have been recoded using sprintf() to 
##                        format message as a single entity, thus giving translators
##                        more freedom.
##
##            Upgrade:      Upgrading modified PunBB isn't an easy task, because ot 
##                        many changes in core files. I hope Rickard, PunBB author
##                        will include this mod in PunBB official code tree.
##
##       DISCLAIMER:      Please note that "mods" are not officially supported by
##                        PunBB. Installation of this modification is done at your
##                        own risk. Backup your forum database and any and all
##                        applicable files before proceeding.
##
##

Installation: Follow next steps to enable admin CP localization.

    1. Install PunBB 1.2.4 as usual.
    2. Unzip MOD file in a temp directory
    3. Copy all included php files in \Upload\ into PunBB root directory, overwriting existed files.
    4. Copy all included files in \lang\ into PunBB \lang\English directory, overwriting existed files.
    5. Copy \include\common_admin.php into PunBB \include\ directory, overwriting existed common_admin.php file.

    When you create your own translations, copy as usual all lang\English\ files into your own lang\directory, including all new adm_xxxx.php language files.

    If you find any missing messages, bugs or any odd behavior of this mod, please post me a note using PunBB forum, or directly to ssb@in.gr

PunBB Admin CP Localization mod, has been written based on latest 1.2.3 - SVN code.

Please read included readme.txt file for installation instructions.
I tried to keep changes to a minimum and follow PunBB official translation method as much as i could. Some messages have been recoded using sprintf() for better formating and translation freedom.

moderate.php has some changes too, to enable user IP / Hostname translation that was missing in official PunBB.
For the same reason, four lines have been appended to common.php language file.

Download it!

Use it with a clean PunBB 1.2.4 installation. All included files are based on official latest 1.2.3 SVN code.

PS: Please give me some time to fix possible bugs, before use it in your stable forum.
Besides those bugs (if reported) I don't expect to change many things so you can start writing your tranlation.
I'm also waiting Rickard's comments and/or suggestions, before declare this mod final smile
If you find any bug, missing or misspelled entry, please post here a note.

Updates: Re-download  update zip from same url

1.0.1
 Added a missing button caption
 Combined two similar strings
Changed files: admin_users.php, adm_users.php

1.0.2
 Replaced admin/mod menu simple caption with sprintf formated string
 Added missing string in censoring
 Added missing string in admin_categories
 Merged two similar strings in one
Changed files: include/common_admin.php, lang/English/common.php, admin_censoring.php, /lang/English/adm_censoring.php, admin_categories.php

1.0.3
 Added missing time/date "current format" message
Changed files: admin_options.php, /lang/English/adm_options.php

1.0.4
 Updated to PunBB 1.2.4 (SVN 151)
 Changed files: moderate.php (the rest 1.2.4 changes were already included)

1.0.5
 Updated to PunBB 1.2.4 (SVN 153)
 Changed files: moderate.php, admin_index.php

1.0.6
 Updated to PunBB 1.2.4 (SVN 159)

Thanks

Sakis is my name, ssb just a nick.

2 (edited by Ataxy 2005-03-16 15:10)

Re: Admin CP Localization Mod 1.0.0

is there a file to make the mod manually if whe allready have other mod installed

update i installed it on a test forum and i got this undifinned index in admin_users.php on line 345

3

Re: Admin CP Localization Mod 1.0.0

Ataxy wrote:

is there a file to make the mod manually if whe allready have other mod installed

It is possible to do that manually, but not suggested because of many changes.
If your installed mods don't change admin control panel, it's very easy, otherwise you have to use a diff tool, merging my changes to yours. With right tool (eg. Beyond Compare, ExamDiff Pro) it's not that difficult.
BTW i'm preparing a diff report to make things easier...

Sakis is my name, ssb just a nick.

Re: Admin CP Localization Mod 1.0.0

Great stuff. I'll have a look at it as soon as my Internet access at home is up and running again (which appears to be friday).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: Admin CP Localization Mod 1.0.0

Rickard, i hope you have your Internet access fixed soon smile

Sakis is my name, ssb just a nick.

6 (edited by ssb 2005-03-19 08:59)

Re: Admin CP Localization Mod 1.0.0

Updated to latest PunBB 1.2.4 (SVN 151)
Only moderate.php changed, because the rest changes were already included from SVN smile
You can redownload it from the same link.

Regards

Sakis is my name, ssb just a nick.

7

Re: Admin CP Localization Mod 1.0.0

Updated to SVN 153

Sakis is my name, ssb just a nick.

8

Re: Admin CP Localization Mod 1.0.0

Updated to SVN 159

Sakis is my name, ssb just a nick.

Re: Admin CP Localization Mod 1.0.0

What is it for ?

10

Re: Admin CP Localization Mod 1.0.0

tuyau45 wrote:

What is it for ?

Enables multilanguage support in admin control panel.

Sakis is my name, ssb just a nick.

Re: Admin CP Localization Mod 1.0.0

OK thanks, could be usefull !!

Re: Admin CP Localization Mod 1.0.0

Sorry, but link download not function... Please control. Thx