Project

General

Profile

Actions

Bug #5216

open

ID translation not being picked up

Added by nant over 9 years ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
Start date:
03 April 2015
Due date:
% Done:

0%

Estimated time:

Description

The admin_language.php file has

'ID_b718ad' => 'ID',

but this is not being picked up in the CB Tab, Plugin, Field and List pages.

See image


Files

2015-04-03_18-04-47.jpg (12.6 KB) 2015-04-03_18-04-47.jpg nant, 03 April 2015 17:05
Actions #1

Updated by krileon over 9 years ago

Works: 'ID' => '!ID',
Doesn't Work: 'ID_b718ad' => '!ID',

This appears to be a bug with the key. Either the key is incorrect (wrong MD5?) or the MD5 generated by CBTxt doesn't match that generated by the lang parser.

Actions #2

Updated by krileon over 9 years ago

generateKeyFromString appears to be skipping this string entirely.

Actions #3

Updated by krileon over 9 years ago

  • Assignee changed from krileon to beat

It's due to if ( $key === '' || $key = = $languageKeys ) { specifically the $key = = $languageKeys test. What's happening is ID = = ID is causing the IF to pass and returning null. So it's not generating an MD5 key.

Actions #4

Updated by beat over 9 years ago

  • Assignee changed from beat to krileon

A language key should normally not be identical to the English string. Maybe we should use language key "LIST_ITEM_ID" here ?

Actions #5

Updated by krileon over 9 years ago

  • Status changed from Assigned to Feedback
  • Assignee changed from krileon to beat

I guess so, but we've multiple plugins already using ID without a key specified. Wouldn't it make sense for CB to just always generate the key?

Actions #6

Updated by beat over 9 years ago

  • Target version changed from CB 2.0.8 to CB 2.0.9
Actions #7

Updated by beat over 9 years ago

  • Target version changed from CB 2.0.9 to CB 2.0.10
Actions #8

Updated by beat over 9 years ago

  • Target version changed from CB 2.0.10 to CB 2.0.11
Actions #9

Updated by beat about 9 years ago

  • Target version changed from CB 2.0.11 to CB 2.0.12
Actions #10

Updated by beat about 9 years ago

  • Target version changed from CB 2.0.12 to CB 2.0.13
Actions #11

Updated by beat almost 9 years ago

  • Target version changed from CB 2.0.13 to CB 2.0.14
Actions #12

Updated by beat over 8 years ago

  • Target version changed from CB 2.0.14 to CB 2.0.15
Actions #13

Updated by beat about 8 years ago

  • Target version changed from CB 2.0.15 to CB 2.1
Actions #14

Updated by krileon almost 8 years ago

  • Target version changed from CB 2.1 to CB 2.2
Actions #15

Updated by krileon over 6 years ago

  • Target version changed from CB 2.2 to CB 2.8
Actions #16

Updated by beat almost 2 years ago

  • Target version changed from CB 2.8 to CB 2.8.1
Actions #17

Updated by beat about 1 year ago

  • Target version changed from CB 2.8.1 to CB 2.8.2
Actions #18

Updated by beat about 1 year ago

  • Target version changed from CB 2.8.2 to CB 2.9.0
Actions #19

Updated by beat about 1 year ago

  • Target version changed from CB 2.9.0 to CB 2.9.2
Actions #20

Updated by beat 5 months ago

  • Target version changed from CB 2.9.2 to CB 2.9.3
Actions #21

Updated by beat 3 months ago

  • Target version changed from CB 2.9.3 to CB 2.9.4
Actions

Also available in: Atom PDF