changeset 498:c5ffd7c05b90

CheckTranslation: removed "page untranslated" warning for admin pages.
author Eugene Syromyatnikov <evgsyr@gmail.com>
date Fri, 12 Feb 2010 18:16:33 +0300
parents a4e59a30d352
children 25702a913bdd
files data/plugin/action/CheckTranslation.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/CheckTranslation.py	Thu Feb 11 22:35:38 2010 +0100
+++ b/data/plugin/action/CheckTranslation.py	Fri Feb 12 18:16:33 2010 +0300
@@ -108,7 +108,7 @@
                 info += " %(editor)s %(time)s" % last_edit
             trans_status.append(info)
 
-            if trans_page_name == orig_page_name:
+            if trans_page_name == orig_page_name and orig_page_name not in i18n.strings.admin_pages:
                  trans_status.append(_(u'/!\\ Page is untranslated.', wiki=True))
 
             if trans_page_name != orig_page_name and trans_page.exists():