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

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]

Main Menu

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

Started by Makc666, August 05, 2004, 09:07:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

[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...

Casper

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;

// 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;

$lang_picinfo = array(

and add into the array;

'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  ;).)
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


Casper

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