File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -640,11 +640,10 @@ def clean(self):
640640 old = self .based_on
641641 self .based_on = based_on # Be nice and guess a correct value.
642642 # TODO(erik): This error message ignores non-translations.
643- raise ValidationError (_ ('A revision must be based on a '
644- 'revision of the %(locale)s document. Revision ID'
645- ' %(id)s does not fit those criteria.' ) %
646- dict (locale = LOCALES [settings .WIKI_DEFAULT_LANGUAGE ].native ,
647- id = old .id ))
643+ raise ValidationError (_ ('A revision must be based on the '
644+ 'English article. Revision ID %(id)s does not fit this'
645+ ' criterion.' ) %
646+ dict (id = old .id ))
648647
649648 if not self .can_be_readied_for_localization ():
650649 self .is_ready_for_localization = False
Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ <h1 class="title">{{ document.title }}</h1>
6060 {{ document.html|safe }}
6161 {% elif fallback_reason == 'no_translation' %}
6262 < div id ="doc-pending-fallback " class ="warning-box ">
63- {% trans help_link=url('wiki.document', 'localize-firefox-help'),
64- locale=settings.LOCALES[request.locale].native %}
65- Our volunteers haven't translated this article into {{ locale }} yet.
63+ {% trans help_link=url('wiki.document', 'localize-firefox-help') %}
64+ No one has helped translate this article yet.
6665 < a href ="{{ help_link }} "> Join us and help get the job done!</ a >
6766 {% endtrans %}
6867 </ div >
You can’t perform that action at this time.
0 commit comments