Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Changing the default file attribute names (title, description etc)  (Read 1806 times)

0 Members and 1 Guest are viewing this topic.

ChrisGray

  • Coppermine newbie
  • Offline Offline
  • Posts: 7

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the default file attribute names (title, description etc)
« Reply #1 on: July 26, 2008, 10:39:52 am »

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

ChrisGray

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Changing the default file attribute names (title, description etc)
« Reply #2 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?
Logged

Nibbler

  • Guest
Re: Changing the default file attribute names (title, description etc)
« Reply #3 on: July 26, 2008, 03:39:42 pm »

Yes. Simply translate your changes into all available languages.
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.