coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ChrisGray on July 26, 2008, 02:59:46 AM

Title: Changing the default file attribute names (title, description etc)
Post by: ChrisGray on July 26, 2008, 02:59:46 AM
I notice that you can add custom fields for image description, and that they appear in the list for each file. What I want to do is rename the existing ones, for example:

Title into Name
Description into Year

I've searched the forums (forgive me if it's on here!) and haven't found any solution to the problem.

Is it easy, or will I have to do some mysql nastiness?
Title: Re: Changing the default file attribute names (title, description etc)
Post by: Joachim Müller on July 26, 2008, 10:39:52 AM
To rename the labels, edit your language file, e.g. lang/english.php
Title: Re: Changing the default file attribute names (title, description etc)
Post by: ChrisGray on July 26, 2008, 03:24:59 PM
That's easy, thanks.

Naturally if somebody were to change to their own language it would revert back to the standard label names, wouldn't it?
Title: Re: Changing the default file attribute names (title, description etc)
Post by: Nibbler on July 26, 2008, 03:39:42 PM
Yes. Simply translate your changes into all available languages.