Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: [BUG] Missed translation -> File information -> URL:  (Read 3062 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Ðóññêèé (Windows)
    • Makc's home page
[BUG] Missed translation -> File information -> URL:
« on: August 05, 2004, 09:07:36 pm »

[BUG] Missed translation -> File information -> URL:

When you look throm File information there are:
Filename:
Album name:
File Size:
Dimensions:
Displayed:
URL:
Favorites:

There is no translation string in english.php for URL:

Because in Russian language we don't call it as URL...
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [BUG] Missed translation -> File information -> URL:
« Reply #1 on: August 05, 2004, 11:33:46 pm »

Good point.  This cannot now be done for version 1.3x, but can be added to 1.4.

For now, if you want your users to see the correct Russian, and have no users with other languages, do the following.

Open displayimage.php, and find this code;

Code: [Select]
// Create the absolute URL for display in info
    $info['URL'] = '<a href="' . $CONFIG["ecards_more_pic_target"]

 Change the '$info['URL']' to '$info['Russian for URL']

If you have users that use various language files, do the following;

Change the above '$info['URL']' to '$info[$lang_picinfo['URL']]'.

Now open your language file, and find;

Code: [Select]
$lang_picinfo = array(
and add into the array;

Code: [Select]
'URL' => 'Russian for URL',
Now do this for every language file you allow your users to use.


@Gaugau, I can add this to dev if you agree (English only  ;).)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [BUG] Missed translation -> File information -> URL:
« Reply #2 on: August 06, 2004, 07:07:05 am »

yes, please go ahead.

GauGau
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [BUG] Missed translation -> File information -> URL:
« Reply #3 on: August 06, 2004, 01:23:09 pm »

Fixed and committed to devel.

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.