forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 language => Topic started by: papukaija on May 23, 2009, 03:29:31 pm

Title: [Done]: Finnish language file revision
Post by: papukaija on May 23, 2009, 03:29:31 pm
Hello,

I made some fixes to the Finnish language file. The fixed and updated version (includes $lang_errors['register_globals_on'] from 1.4.23 translation) is attached to this message.
Please let me know if it works correctly.

Line 38
Code: [Select]
$lang_byte_units = array('tavua', 'KB', 'MB');should be
Code: [Select]
$lang_byte_units = array('tavua', 'kt', 'Mt');
Line 96
Code: [Select]
'offline_text' => 'Kalleria on poissa käytöstä. Tarkista myöhemmin uudelleen.',should be
Code: [Select]
'offline_text' => 'Galleria on poissa käytöstä. Tarkista myöhemmin uudelleen.',
Line 845
Code: [Select]
'err_imgsize_too_large' => 'Kuva, jota yritit lisätä, on liian suuri. (Suurin sallittu koko on %s KB.)', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauledshould be
Code: [Select]
'err_imgsize_too_large' => 'Kuva, jota yritit lisätä, on liian suuri. (Suurin sallittu koko on %s kt.)', //obsolete since cpg1.3 - consider removal in cpg1.4 once upload.php has been overhauled

I have also translated all the remaining English texts to Finnish:

Line 94
Code: [Select]
'not_with_udb' => 'This function is disabled in Coppermine because it is integrated with forum software. Either what you are trying to do is not supported in this configuration, or the function should be handled by the forum software.',-->
Code: [Select]
'not_with_udb' => 'Tämä funktio on poistettu käytöstä Coppermine:ssä, koska se on integroitu foorumin kanssa. Joko pyydetty toiminto ei ole tuettu tässä konfiguraatiossa tai sen pitäisi olla foorumin käsittelemä.',
Line 102
Code: [Select]
'register_globals_on' => 'The PHP setting register_globals is enabled on your server, which is a bad idea in terms of security. It\'s strongly recommended to turn it off. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">more</a>]',-->
Code: [Select]
'register_globals_on' => 'PHP asetus register_globals on päällä palvelimellasi, mikä on huono idea heikomman tietoturvan vuoksi. On suositeltavaa ottaa se pois päältä. [<a href="http://forum.coppermine-gallery.net/index.php/topic,59569.0.html" rel="external" class="external">lisää</a>]',
Line 982
Code: [Select]
'YCbCrPositioning' => 'YCbCrPositioning', //cpg1.4-->
Code: [Select]
'YCbCrPositioning' => 'YCbCr -asemointi', //cpg1.4
Title: Re: Finnish language file revision
Post by: Joachim Müller on May 23, 2009, 05:51:56 pm
There is something fishy with the linebreaks in your attachment, so I had to apply the changes manually. Anyway, thanks for your contribution - your suggestions will go into cpg1.4.24.
Title: Re: [Done]: Finnish language file revision
Post by: papukaija on May 23, 2009, 10:54:51 pm
Thanks. I created the attachement under Ubuntu (with gedit), maybe this causes problems with the linebreaks.
Title: Re: [Done]: Finnish language file revision
Post by: Joachim Müller on May 24, 2009, 09:30:50 am
I am using Ubuntu as well. No matter what application I open it with (gedit or my favorite editor bluefish), the double linebreaks are there (see attachment). Not sure what went wrong on the way, but as I suggested above: I applied the changes manually, do it doesn't matter that much.

Once again, thanks for your input

Joachim
Title: Re: [Done]: Finnish language file revision
Post by: Ludo on May 26, 2009, 10:27:13 am
A hint for papukaia to fix line-breaks issue: somewhere in your editor settings, change Dos format (CRLF) to Unix (LF).
Title: Re: [Done]: Finnish language file revision
Post by: papukaija on May 30, 2009, 04:40:51 pm
A hint for papukaia to fix line-breaks issue: somewhere in your editor settings, change Dos format (CRLF) to Unix (LF).
Thank you for your hint, but I didn't find that setting for gedit or for bluefish. Should text editors in Linux already use Unix format?

For future contibutions, can someone please test the attached files? The first one is created with gedit (I disabled the text wrapping, maybe this solves the problem) and the second with bluefish.
Title: Re: [Done]: Finnish language file revision
Post by: Joachim Müller on May 30, 2009, 06:53:07 pm
Should text editors in Linux already use Unix format?
Certainly yes: in fact, Linux is a port of Unix with another name (the word "Unix" is trademarked) that runs on another hardware platform than Unix (all pros, please don't shoot me : I'm aware that this is not 100% correct). Linux and Unix are not actually twins, but brothers. Windows is (compared to Linux and Unix) just is an uncle.

For future contibutions, can someone please test the attached files? The first one is created with gedit (I disabled the text wrapping, maybe this solves the problem) and the second with bluefish.
Both contain double line-breaks, so both are "bad" in my book.
Title: Re: [Done]: Finnish language file revision
Post by: papukaija on May 30, 2009, 07:09:55 pm
Both contain double line-breaks, so both are "bad" in my book.

Have you changed any settings in gedit or in bluefish? Do you make any additional steps before saving a file? I'm attaching a new file creted in bluefish (saved with the dos2unix filter). Does it work?
Title: Re: [Done]: Finnish language file revision
Post by: papukaija on May 30, 2009, 07:23:45 pm
Just noticed, when I downloaded the test3.txt, I got the double linebraeks in the file. So this seems to be a bug in smf. In future I'll use a zip file for my contributions. Thanks for your help Joachim and Ludo.
Title: Re: [Done]: Finnish language file revision
Post by: andrewz on September 14, 2010, 08:06:55 pm
test test3.txt sownload well.