Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Done]: Finnish language file revision  (Read 26365 times)

0 Members and 1 Guest are viewing this topic.

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
[Done]: Finnish language file revision
« 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
« Last Edit: May 23, 2009, 05:52:07 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Finnish language file revision
« Reply #1 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.
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: [Done]: Finnish language file revision
« Reply #2 on: May 23, 2009, 10:54:51 pm »

Thanks. I created the attachement under Ubuntu (with gedit), maybe this causes problems with the linebreaks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Finnish language file revision
« Reply #3 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
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: [Done]: Finnish language file revision
« Reply #4 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).
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: [Done]: Finnish language file revision
« Reply #5 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: [Done]: Finnish language file revision
« Reply #6 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.
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: [Done]: Finnish language file revision
« Reply #7 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?
Logged

papukaija

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 333
Re: [Done]: Finnish language file revision
« Reply #8 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.
Logged

andrewz

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 2
Re: [Done]: Finnish language file revision
« Reply #9 on: September 14, 2010, 08:06:55 pm »

test test3.txt sownload well.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 22 queries.