forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: greeny on November 18, 2003, 05:38:50 pm

Title: Help me -> the gallery not work
Post by: greeny on November 18, 2003, 05:38:50 pm
Hi
i got the problem that my gallery not work. I get this error messege

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/www/web1/html/test/modules/coppermine/lang/german.php on line 169

What i made wrong

Thanks !!!
Title: German Translation?
Post by: gtroll on November 18, 2003, 08:36:26 pm
The only language tested is english. Please delete all language files except english, indonesion and italian. RC3 will have more languages. Would you like to do the German Translation? There are only about 20 lines to translate...
BTW PHPNuke 6.5+ is required for RC2...
Title: Help me -> the gallery not work
Post by: sengsara on November 19, 2003, 03:11:42 am
:evil: You forget about me?
My translation is tested on a life site,you know. :D
Title: Help me -> the gallery not work
Post by: gtroll on November 19, 2003, 06:08:59 am
Sorry I edited my post... I stand corrected do not delete indonesian.php or indonesian-utf-8.php
Title: german.php
Post by: MrFluffy on November 19, 2003, 12:58:11 pm
Apart from some variables that slipped through translation, there's only a comma missing in the lang/german.php ;)

...add a comma at the end of line 168:
Code: [Select]
       'user_on_page' => '%d Benutzer auf %d Seite(n)',

Here are some proposals for the left over variables
Quote
Line 76:
        'favpics'=> 'Lieblingsbilder' //new in cpg1.2.0
Lines 96,97:
        'members_only' => 'Diese Funktion ist nur für Mitglieder, bitte registriere Dich.', // changed in cpg1.2.0nuke
    'mustbe_god' => 'Diese Funktion ist nur für den Administrator. Du musst als SuperAdmin/God Account angemeldet sein, um die Funktion zu nutzen.'
Lines 169-172:
    'sort_ra' => 'aufsteigend nach Wertung sortieren', // new in cpg1.2.0nuke
    'sort_rd' => 'absteigend nach Wertung sortieren', // new in cpg1.2.0nuke
    'rating' => 'WERTUNG', // new in cpg1.2.0nuke
    'sort_title' => 'Bilder sortieren nach:', // new in cpg1.2.0nuke
Lines 185, 186:
    'no_more_images' => 'Es gibt in dieser Galerie keine Bilder mehr', // new in cpg1.2.0nuke
    'no_less_images' => 'Dies ist das erste Bild der Galerie', // new in cpg1.2.0nuke


...that's all i could find.  :wink: If you're too lazy, get a fixed one here (http://www.ayhsel.de/downloads-file-21.html)  :lol: [edit] changed link to most recent version...[/edit]
Title: Re: German Translation?
Post by: MrFluffy on November 19, 2003, 02:33:05 pm
Quote from: "gtroll"
...There are only about 20 lines to translate...


Well, as 20 didn't match my count, i looked for variables not even in the german.php yet... and there they were :)

Here's an updated version of the lang/german.php that includes (hopefully) all new variables and changed variable names...

lang/german.php v2 (http://www.ayhsel.de/downloads-file-21.html)

Please give me a note if you still find untranslated parts.