Bug #5216
openID translation not being picked up
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
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.
Updated by krileon over 9 years ago
generateKeyFromString appears to be skipping this string entirely.
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.
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 ?
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?
Updated by beat over 9 years ago
- Target version changed from CB 2.0.8 to CB 2.0.9
Updated by beat over 9 years ago
- Target version changed from CB 2.0.9 to CB 2.0.10
Updated by beat over 9 years ago
- Target version changed from CB 2.0.10 to CB 2.0.11
Updated by beat about 9 years ago
- Target version changed from CB 2.0.11 to CB 2.0.12
Updated by beat about 9 years ago
- Target version changed from CB 2.0.12 to CB 2.0.13
Updated by beat almost 9 years ago
- Target version changed from CB 2.0.13 to CB 2.0.14
Updated by beat almost 9 years ago
- Target version changed from CB 2.0.14 to CB 2.0.15
Updated by beat over 8 years ago
- Target version changed from CB 2.0.15 to CB 2.1
Updated by krileon about 8 years ago
- Target version changed from CB 2.1 to CB 2.2
Updated by krileon over 6 years ago
- Target version changed from CB 2.2 to CB 2.8
Updated by beat almost 2 years ago
- Target version changed from CB 2.8 to CB 2.8.1
Updated by beat over 1 year ago
- Target version changed from CB 2.8.1 to CB 2.8.2
Updated by beat about 1 year ago
- Target version changed from CB 2.8.2 to CB 2.9.0
Updated by beat about 1 year ago
- Target version changed from CB 2.9.0 to CB 2.9.2