Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
19 Jan 2004 at 10:28 UTC
Updated:
27 Jul 2004 at 20:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
Stefan Nagtegaal commentedComment #2
Stefan Nagtegaal commentedPatch for bugs and improvements are on it's way...
Comment #3
Stefan Nagtegaal commentedwhile fixing and improving this module it isn't very clear to me what the difference is between the first two options;
In this code we'll see that we can choose to translate the strings into "Any language", "All languages" and the rest of $languages.
Now tested this quite a few hours but it's a total question to mee what the difference is between translating the strings using "Any language" or "All languages" because they are doing exactly the same in my opinion..
Could someone please verify this, so I can remove these extra and unneeded options from the locale.module?
Comment #4
Stefan Nagtegaal commentedWell, it looks like you can choose to translate the strings into any language, but that isn't very usefull IMO because you can choose every language apart from another inside the same options-list..
Any thoughts about this?
Comment #5
Stefan Nagtegaal commentedI fixed the bugs and built-in the feature metioned above...
Patch attached...
Comment #6
dries commentedlocale_help()you introduced a variable called$key: it does not seem to be defined anywhere?foreachloop tolocale_seek_form()when there is only one hidden field to emit?Please resubmit.
Comment #7
Stefan Nagtegaal commentedAttached patch should work okay...
Comment #8
Stefan Nagtegaal commentedSorry, uploaded the wrong patch.. This is the right one without the help text. (Sorry, can't get the helptext displaying using the proposed regex's from Goba.)
Comment #9
dries commentedCommitted to HEAD. Thanks.
Comment #10
(not verified) commentedThis patch was only for usability and fixed most of the bugs..
1 bug is still there, which is that the help text isn't displayed on the 'locale/$key/translated' and 'locale/$key/untranslated' pages..
Goba had a way of dealing with this, with some reg_exp which I (unfortunatly) don't understand..
Goba, can you give this a try?
Comment #11
Stefan Nagtegaal commentedWhile my knowledge of reg_exp's aren't at the level they (maybe) should be, i'll hope someone else can fix this..
AFAIK this is the only help-text which isn't displayed the way it should be...
Comment #12
jonbob commentedObsoleted by http://drupal.org/node/view/7289