Improve language output strings for 4.0 release

turadg - August 10, 2009 - 21:29
Project:Quiz
Version:6.x-4.x-dev
Component:User interface
Category:task
Priority:normal
Assigned:falcon
Status:needs work
Description

The user-facing language strings in Quiz could use some improvement. While programming, it's easy to just write something quick that works, but some of our strings have typos, grammar errors, or awkward wording.

E.g. in the quiz importer form,
'#description' => count($options) ? t('Select the quiz node for which you want to add questions') : t('No quiz contents where found. To !create_a_quiz go to Content Management -> Create Content -> Quiz.', array('!create_a_quiz' => l(t('create a quiz'), 'node/add/quiz'))),

"for" is not the appropriate preposition there. "where" should be "were".

I'd like to improve these strings for the 4.0 release so that people can begin translating them to other languages. If we wait until a 4.1 release to update them, translators will have to redo the ones that change.

#1

sivaji - August 11, 2009 - 07:28

I would greatly appreciate your effort on this. Sorry it's me who made the mistake mentioned above as an example. I will be more careful next time. I have fixed and committed the above one.

-    '#description' => count($options) ? t('Select the quiz node for which you want to add questions') : t('No quiz contents where found. To !create_a_quiz go to Content Management -> Create Content -> Quiz.', array('!create_a_quiz' => l(t('create a quiz'), 'node/add/quiz'))),
+    '#description' => count($options) ? t('Select the quiz to which you want to add questions.') : t('No quiz contents were found. To !create_a_quiz go to Content Management -> Create Content -> Quiz.', array('!create_a_quiz' => l(t('create a quiz'), 'node/add/quiz'))),

#2

falcon - November 6, 2009 - 15:04
Status:active» needs work

#3

falcon - November 10, 2009 - 11:23

I'm a Norwegian so I'm probably not the one who can do the best job improving the language in the module, but I will still give it my best shot. It is a boring task, but it is a task that needs to be dealt with.

#4

falcon - November 10, 2009 - 11:23
Assigned to:Anonymous» falcon
 
 

Drupal is a registered trademark of Dries Buytaert.