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] Chinese language label wrong in the list box  (Read 6096 times)

0 Members and 1 Guest are viewing this topic.

1sin

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
[BUG] Chinese language label wrong in the list box
« on: October 12, 2005, 09:04:19 am »

In the language selection list box, the label for Chinese Traditional actually display in Chinese Simplyfy  and  the Simplify display in traditional.  Should be the opposite.  But when clicking the flag icon, it display correctly.
« Last Edit: October 13, 2005, 07:20:48 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [BUG] Chinese language label wrong in the list box
« Reply #1 on: October 12, 2005, 10:15:05 am »

so chinese_gb equals Chinese simplified and chinese_big5 equals Chinese traditional? Is this correct this way round? Please excuse me for being thick when it comes to asian languages.
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: [BUG] Chinese language label wrong in the list box
« Reply #2 on: October 12, 2005, 10:42:49 am »

so chinese_gb equals Chinese simplified and chinese_big5 equals Chinese traditional? Is this correct this way round? Please excuse me for being thick when it comes to asian languages.

That's correct, GauGau.

Dennis
Logged
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [BUG] Chinese language label wrong in the list box
« Reply #3 on: October 12, 2005, 03:51:37 pm »

k, I'll commit the changes to the cvs as soon as I have access to it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [BUG] Chinese language label wrong in the list box
« Reply #4 on: October 13, 2005, 07:20:26 am »

committed:
Code: [Select]
$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 简体','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 繁體','cn');
to devel branch of cvs. I hope that this is correct.
Marking as "fixed", please reply if it isn't for you.
Logged

1sin

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: [BUG] Chinese language label wrong in the list box
« Reply #5 on: October 15, 2005, 02:26:42 am »

Hi GauGau,

There is a small mistake in the chinese characters part.  The correct code should be:

$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 繁體','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 简体','cn');
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [BUG] Chinese language label wrong in the list box
« Reply #6 on: October 15, 2005, 10:38:49 am »

ok, thanks for the report. This is now the content of include/functions.inc.php:
Code: [Select]
$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 繁體','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 简体','cn');
(actually, the chinse encoding is not in the file, but the html equivalent that represents it. The forum software of course outputs the chinese chars).
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.