Code Browser
| author | Manolis Kiagias <manolis@FreeBSD.org> |
| Tue Jul 07 12:48:13 2009 +0300 (2 years ago) | |
| changeset 653 | 93cb25c6e463 |
| parent 652 | 512d59a20152 |
| child 654 | 6747d42d250b |
Fix / improve the English messages in several files
1 --- a/transifex/projects/views.py Tue Jul 07 11:42:37 2009 -0400 2 +++ b/transifex/projects/views.py Tue Jul 07 12:48:13 2009 +0300 3 @@ -448,7 +448,7 @@ 4 5 if not component.allows_submission: 6 request.user.message_set.create(message=_("This component does " 7 - " not allow white access.")) 8 + " not allow write access.")) 9 return HttpResponseRedirect(reverse('projects.views.component_detail', 10 args=(project_slug, component_slug,))) 11 12 @@ -470,7 +470,7 @@ 13 args=(project_slug, component_slug,))) 14 elif not request.POST['targetfile'] == '' and \ 15 not request.POST['newtargetfile'] == '': 16 - request.user.message_set.create(message=_("Please enter with" 17 + request.user.message_set.create(message=_("Please enter" 18 " only ONE target to upload the file.")) 19 return HttpResponseRedirect(reverse('projects.views.component_detail', 20 args=(project_slug, component_slug,))) 21 @@ -489,7 +489,7 @@ 22 23 if not request.POST['message']: 24 request.user.message_set.create(message= 25 - _("Enter a message for the commit")) 26 + _("Enter a commit message")) 27 return HttpResponseRedirect(reverse('projects.views.component_detail', 28 args=(project_slug, component_slug,))) 29 30 @@ -563,7 +563,7 @@ 31 except ValueError: # msgfmt_check 32 logger.debug("Msgfmt -c check failed for the %s file." % filename) 33 request.user.message_set.create(message=_("Your file does not" \ 34 - " pass by the check for correctness" \ 35 + " pass correctness checks" \ 36 " (msgfmt -c). Please run this command" \ 37 " on your system to see the errors.")) 38 except StandardError, e: 39 @@ -571,7 +571,7 @@ 40 " for %s component: %r" % (filename, 41 component.full_name, e)) 42 request.user.message_set.create(message = _( 43 - "Sorry, an error is causing troubles to send your file.")) 44 + "Sorry, your file could not be sent because of an error.")) 45 46 else: 47 request.user.message_set.create(message = _(
1.1 --- a/transifex/releases/models.py Tue Jul 07 11:42:37 2009 -0400 1.2 +++ b/transifex/releases/models.py Tue Jul 07 12:48:13 2009 +0300 1.3 @@ -35,8 +35,8 @@ 1.4 "can be added/modified which affect translations.")) 1.5 develfreeze_date = models.DateTimeField(_('Devel freeze date'), blank=True, null=True, 1.6 help_text=_("The last date packages from this release can be built " 1.7 - "from the developers, and thus, translations to be " 1.8 - "built in the packages of it.")) 1.9 + "from the developers. Translations sent after this date " 1.10 + "will not be included in the released version.")) 1.11 1.12 hidden = models.BooleanField(_('Hidden'), default=False, editable=False, 1.13 help_text=_('Hide this object from the list view?'))
2.1 --- a/transifex/templates/403.html Tue Jul 07 11:42:37 2009 -0400 2.2 +++ b/transifex/templates/403.html Tue Jul 07 12:48:13 2009 +0300 2.3 @@ -9,7 +9,7 @@ 2.4 2.5 {% block content %} 2.6 2.7 -<p>{% trans "Looks like you do not have the necessary permissions to the required action." %}</p> 2.8 +<p>{% trans "Looks like you do not have the necessary permissions for the required action." %}</p> 2.9 2.10 {% url home as home %} 2.11 <p>{% blocktrans %}Here's a link to the <a href="{{ home }}">homepage</a>. You know, just in case.{% endblocktrans %}</p>
3.1 --- a/transifex/templates/authopenid/delete.html Tue Jul 07 11:42:37 2009 -0400 3.2 +++ b/transifex/templates/authopenid/delete.html Tue Jul 07 12:48:13 2009 +0300 3.3 @@ -11,7 +11,7 @@ 3.4 {% if form.errors %} 3.5 <p class="errors">{% trans "Please correct errors below:" %}<br /> 3.6 {% if form.confirm.errors %} 3.7 - <span class="error">{% trans "Check confirm box, if you want delete your account." %}</span><br /> 3.8 + <span class="error">{% trans "Check the confirm box, if you really want to delete your account." %}</span><br /> 3.9 {% endif %} 3.10 {% if form.password.errors %} 3.11 <span class="error">{% trans "Password:" %} {{ form.password.errors|join:", " }}</span>
4.1 --- a/transifex/templates/authopenid/signup.html Tue Jul 07 11:42:37 2009 -0400 4.2 +++ b/transifex/templates/authopenid/signup.html Tue Jul 07 12:48:13 2009 +0300 4.3 @@ -9,7 +9,7 @@ 4.4 4.5 {% blocktrans %} 4.6 <p>There are two ways to join: with an email and screen name or with an OpenID.</p> 4.7 -<p>Enter information only for the type of sign up you want to do.</p> 4.8 +<p>Enter information only for the type of sign up you wish to do.</p> 4.9 {% endblocktrans %} 4.10 <div class="jointxt"> 4.11 <h2 class="signup">{% trans "Regular Signup" %}</h2>
5.1 --- a/transifex/templates/contact_form/contact_form_sent.html Tue Jul 07 11:42:37 2009 -0400 5.2 +++ b/transifex/templates/contact_form/contact_form_sent.html Tue Jul 07 12:48:13 2009 +0300 5.3 @@ -1,7 +1,7 @@ 5.4 {% extends "base.html" %} 5.5 {% load i18n %} 5.6 5.7 -{% block title %}{{ block.super }} | {% trans "Thanks for the beedback!" %}{% endblock %} 5.8 +{% block title %}{{ block.super }} | {% trans "Thanks for the feedback!" %}{% endblock %} 5.9 5.10 {% block content_title %} 5.11 <h2 class="pagetitle">{% trans "Thanks!" %}</h2> 5.12 @@ -9,4 +9,4 @@ 5.13 5.14 {% block content %} 5.15 <p>{% trans "Thank you for your feedback." %}</p> 5.16 -{% endblock %} 5.17 \ No newline at end of file 5.18 +{% endblock %}
6.1 --- a/transifex/templates/languages/language_release.html Tue Jul 07 11:42:37 2009 -0400 6.2 +++ b/transifex/templates/languages/language_release.html Tue Jul 07 12:48:13 2009 +0300 6.3 @@ -55,7 +55,8 @@ 6.4 6.5 {% if untrans_comps %} 6.6 <h3>{% blocktrans %}Untranslated Components{% endblocktrans %}</h3> 6.7 - <p class="explanation">{% blocktrans %}Here you can find components registered to belong in {% endblocktrans %}{{ release.name }}{% blocktrans %}, but with no translations sent for {% endblocktrans %}{{ language.name }}{% blocktrans %} yet:{% endblocktrans %}</p> 6.8 + <p class="explanation"> 6.9 + {% blocktrans with release.name as release_name and language.name as language_name %}The following components will be included in {{ release_name }}, but there are no translations sent for {{language_name}} yet.{% endblocktrans %}</p> 6.10 <div class="component_list"> 6.11 <ul class="simple"> 6.12 {% for comp in untrans_comps %}
7.1 --- a/transifex/templates/notification/notices.html Tue Jul 07 11:42:37 2009 -0400 7.2 +++ b/transifex/templates/notification/notices.html Tue Jul 07 12:48:13 2009 +0300 7.3 @@ -51,7 +51,7 @@ 7.4 7.5 {% with user.email as user_email %} 7.6 {% if user_email %} 7.7 - <p>{% blocktrans %}You can receive notifications whenever an event occurs in Transifex. Check the notifications available for you on the list bellow and choose which events you would like to be notificated by email.{% endblocktrans %}</p> 7.8 + <p>{% blocktrans %}You can receive notifications whenever an event occurs in Transifex. Check the notifications available for you on the list below and choose which events you would like to be notified by email.{% endblocktrans %}</p> 7.9 <p>{% trans "Primary email" %}: <strong>{{ user_email }}</strong> 7.10 <br />({% trans "change under" %} <a href="{% url password_change %}">{% trans "Account" %}</a>) 7.11 {% else %}
8.1 --- a/transifex/templates/projects/component_detail.html Tue Jul 07 11:42:37 2009 -0400 8.2 +++ b/transifex/templates/projects/component_detail.html Tue Jul 07 12:48:13 2009 +0300 8.3 @@ -22,7 +22,7 @@ 8.4 {% ifequal component.unit.type 'tar' %} 8.5 submission_note='{% trans "This component supports local storing of submitted files and also sends the files to the maintainers\' email." %}' 8.6 {% else %} 8.7 - submission_note='{% trans "This component does not support local storing of submitted files. The submitted files will be sends to the maintainers\' emails and the statistics will reflect the change once the files are committed upstream." %}' 8.8 + submission_note='{% trans "This component does not support local storing of submitted files. The submitted files will be sent to the maintainers\' emails and the statistics will reflect the change once the files are committed upstream." %}' 8.9 {% endifequal %} 8.10 {% endifequal %} 8.11 {% ifequal component.submission_type 'ssh' %} 8.12 @@ -140,7 +140,7 @@ 8.13 {% else %}{% trans "Component not yet pulled from source repository." %}{% endif %} 8.14 {% if perms.projects.refresh_stats %} 8.15 <form action="{% url component_set_stats component.project.slug component.slug %}" class="microform"> 8.16 - <input title="{% trans "Refresh and re-calculate statistics. It can take some time." %}" class="i16 stats_edit" value="{% trans "Refresh cache" %}" type="submit"> 8.17 + <input title="{% trans "Refresh and re-calculate statistics. This action may take some time." %}" class="i16 stats_edit" value="{% trans "Refresh cache" %}" type="submit"> 8.18 </form> 8.19 {% endif %} 8.20 {% if perms.projects.clear_cache %}
9.1 --- a/transifex/templates/projects/component_submit_new_file.html Tue Jul 07 11:42:37 2009 -0400 9.2 +++ b/transifex/templates/projects/component_submit_new_file.html Tue Jul 07 12:48:13 2009 +0300 9.3 @@ -24,7 +24,7 @@ 9.4 {% endfor %} 9.5 </select> 9.6 </p></td> 9.7 - <td><p class="helptext">{% trans "The target file is the name o the new file language. It must matches with the component file filter." %}</p></td> 9.8 + <td><p class="helptext">{% trans "The target file is the name of the new file language. It must matches with the component file filter." %}</p></td> 9.9 </tr> 9.10 <tr> 9.11 <th>{% trans "or enter it here:" %}</th> 9.12 @@ -41,4 +41,4 @@ 9.13 <p class="submit"> <input type="submit" class="i16 send_file" class="submit" size="10" value="{% trans "Send" %}"></p> 9.14 </fieldset> 9.15 </form> 9.16 -</div> 9.17 \ No newline at end of file 9.18 +</div>
10.1 --- a/transifex/templates/simpleauth/settings.html Tue Jul 07 11:42:37 2009 -0400 10.2 +++ b/transifex/templates/simpleauth/settings.html Tue Jul 07 12:48:13 2009 +0300 10.3 @@ -12,7 +12,7 @@ 10.4 10.5 {% block content %} 10.6 <div id="settings-intro"> 10.7 - <p>{% trans "Any settings associated with your account are presented and possibly modified here." %} 10.8 + <p>{% trans "Any settings associated with your account are presented and may be modified here." %} 10.9 </div> 10.10 10.11 <div id="settings-options">
11.1 --- a/transifex/templates/userprofile/account/email_validation_reset.html Tue Jul 07 11:42:37 2009 -0400 11.2 +++ b/transifex/templates/userprofile/account/email_validation_reset.html Tue Jul 07 12:48:13 2009 +0300 11.3 @@ -34,6 +34,6 @@ 11.4 {% block userprofile_content_related %} 11.5 <div class="box"> 11.6 <h3>{% trans "Resend e-mail validation" %}</h3> 11.7 - <p>{% trans "If you haven't validated your e-mail address yet you couldn't get into the site. Insert the e-mail address yu have registered with so we can resend the validation e-mail to you again" %}.</p> 11.8 + <p>{% trans "If you haven't validated your e-mail address yet you will not be able to login. Insert your registered e-mail address to receive the validation e-mail again" %}.</p> 11.9 </div> 11.10 {% endblock %}
12.1 --- a/transifex/txcommon/management/__init__.py Tue Jul 07 11:42:37 2009 -0400 12.2 +++ b/transifex/txcommon/management/__init__.py Tue Jul 07 12:48:13 2009 +0300 12.3 @@ -135,7 +135,7 @@ 12.4 }, 12.5 { "label": "collection_release_component_deleted", 12.6 "display": _("Release Deleted from a Collection"), 12.7 - "description": _("when a release is deleted to a collection"), 12.8 + "description": _("when a release is deleted from a collection"), 12.9 "default": 2, 12.10 "show_to_user": False, 12.11 }, 12.12 @@ -153,4 +153,4 @@ 12.13 12.14 signals.post_syncdb.connect(create_notice_types, sender=notification) 12.15 except ImportError: 12.16 - print "Skipping creation of NoticeTypes as notification app not found" 12.17 \ No newline at end of file 12.18 + print "Skipping creation of NoticeTypes as notification app not found"
13.1 --- a/transifex/txcommon/models.py Tue Jul 07 11:42:37 2009 -0400 13.2 +++ b/transifex/txcommon/models.py Tue Jul 07 12:48:13 2009 +0300 13.3 @@ -24,7 +24,7 @@ 13.4 linked_in = models.URLField(_('LinkedIn'), blank=True) 13.5 twitter = models.URLField(_('Twitter'), blank=True) 13.6 about = models.TextField(_('About yourself'), max_length=140, blank=True, 13.7 - help_text=_('Short words about you (140 chars).')) 13.8 + help_text=_('Short description of yourself (140 chars).')) 13.9 looking_for_work = models.BooleanField(_('Looking for work?'), default=False) 13.10 13.11 post_save.connect(add_user_to_registered_group, sender=Profile)


