Changing the default file attribute names (title, description etc) Changing the default file attribute names (title, description etc)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Changing the default file attribute names (title, description etc)

Started by ChrisGray, July 26, 2008, 02:59:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ChrisGray

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?

Joachim Müller

To rename the labels, edit your language file, e.g. lang/english.php

ChrisGray

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?

Nibbler

Yes. Simply translate your changes into all available languages.