Author: david
Date: Wed Nov 9 14:24:16 2011
New Revision: 10297
Log:
Ignore empty translations
Modified:
trunk/lib/task/i18nUpdateFixturesTask.class.php
Modified: trunk/lib/task/i18nUpdateFixturesTask.class.php
==============================================================================
--- trunk/lib/task/i18nUpdateFixturesTask.class.php Wed Nov 9 13:48:33
2011 (r10296)
+++ trunk/lib/task/i18nUpdateFixturesTask.class.php Wed Nov 9 14:24:16
2011 (r10297)
@@ -94,7 +94,10 @@
// Build list of translations, keyed on source value
foreach ($messages as $source => $message)
{
- $translations[$source][$culture] = $message[0];
+ if (0 < strlen($message[0]))
+ {
+ $translations[$source][$culture] = $message[0];
+ }
}
}
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.