diff options
Diffstat (limited to 'en/about/license/license.php')
-rw-r--r-- | en/about/license/license.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/en/about/license/license.php b/en/about/license/license.php index 720a0ebdc..4997bd7c7 100644 --- a/en/about/license/license.php +++ b/en/about/license/license.php @@ -2,6 +2,7 @@ function read_license_from_vcs($locale) { $license_strings = array( array('_: You can warn about unofficial translation here'), + array('Introduction', 'h3'), array('The operating system and the different components available in the Mageia distribution \nshall be called the \"Software Products\" hereafter. The Software Products include, but are not \nrestricted to, the set of programs, methods, rules and documentation related to the operating \nsystem and the different components of the Mageia distribution, and any applications \ndistributed with these products provided by Mageia\'s licensors or suppliers.'), array('1. License Agreement', 'h3'), array('Please read this document carefully. This document is a license agreement between you and \nMageia which applies to the Software Products.\nBy installing, duplicating or using any of the Software Products in any manner, you explicitly \naccept and fully agree to conform to the terms and conditions of this License. \nIf you disagree with any portion of the License, you are not allowed to install, duplicate or use \nthe Software Products. \nAny attempt to install, duplicate or use the Software Products in a manner which does not comply \nwith the terms and conditions of this License is void and will terminate your rights under this \nLicense. Upon termination of the License, you must immediately destroy all copies of the \nSoftware Products.'), @@ -43,7 +44,7 @@ function read_license_from_vcs($locale) { foreach($license_strings as $value) { str_replace(array(".", "_"), array(".", "_"), $value[0], $count); $num_of_sentences_for_translation += $count; - if(!empty($po_file[$value[0]]["msgstr"][0]) && $po_file[$value[0]]["msgstr"][0] != $value[0]) { + if(!empty($po_file[$value[0]]["msgstr"][0]) && trim($po_file[$value[0]]["msgstr"][0]) != "" && $po_file[$value[0]]["msgstr"][0] != $value[0]) { $license_string = $po_file[$value[0]]["msgstr"][0]; } else { $num_of_untranslated_sentences += $count; |