Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
6151a762
Commit
6151a762
authored
Jan 15, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing templates
parent
c4db9048
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
328 additions
and
0 deletions
+328
-0
weblate/html/mail/base.html
weblate/html/mail/base.html
+32
-0
weblate/html/mail/changed_translation.html
weblate/html/mail/changed_translation.html
+57
-0
weblate/html/mail/footer.html
weblate/html/mail/footer.html
+18
-0
weblate/html/mail/merge_failure.html
weblate/html/mail/merge_failure.html
+29
-0
weblate/html/mail/new_comment.html
weblate/html/mail/new_comment.html
+47
-0
weblate/html/mail/new_contributor.html
weblate/html/mail/new_contributor.html
+18
-0
weblate/html/mail/new_string.html
weblate/html/mail/new_string.html
+18
-0
weblate/html/mail/new_suggestion.html
weblate/html/mail/new_suggestion.html
+61
-0
weblate/html/mail/new_translation.html
weblate/html/mail/new_translation.html
+48
-0
No files found.
weblate/html/mail/base.html
0 → 100644
View file @
6151a762
{% load i18n %}
{% load static %}
{% load url from future %}
{% load translations %}
<!DOCTYPE html>
<html
lang=
"{{ LANGUAGE_CODE }}"
dir=
"{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
>
<title>
{% include subject_template %}
</title>
<style>
.translatetext
{
background-color
:
#eee
;
}
ins
{
background-color
:
lightgreen
;
}
del
{
background-color
:
#fc7979
;
}
</style>
</head>
<body
{%
if
LANGUAGE_BIDI
%}
class=
"dir-rtl"
{%
endif
%}
>
{% block content %}
{% endblock %}
<footer
style=
"font-size:small"
>
{% trans "Sent by Weblate translation system" %}
<br
/>
<a
href=
"http://weblate.org/"
>
weblate.org
</a>
</footer>
</body>
</html>
weblate/html/mail/changed_translation.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there has been change in translation on {{ translation }} at {{ site_title }}.
{% endblocktrans %}
</p>
<table>
<tr>
<th>
{% trans "Source string:" %}
</th>
<td>
{{ unit.source|fmttranslation }}
</td>
</tr>
<tr>
<th>
{% trans "Translation:" %}
</th>
<td>
{{ unit.target|fmttranslation:unit.translation.language }}
</td>
</tr>
<tr>
<th>
{% trans "Translation change:" %}
</th>
<td>
{{ unit.target|fmttranslationdiff:oldunit }}
</td>
</tr>
</table>
<p>
{% trans "You can edit this string at:" %}
</p>
<p><a
href=
"http://{{ current_site }}{{ unit.get_absolute_url }}"
>
http://{{ current_site }}{{ unit.get_absolute_url }}
</a></p>
{% include "mail/footer.html" %}
{% endblock %}
weblate/html/mail/footer.html
0 → 100644
View file @
6151a762
{% load url from future %}
{% load i18n %}
{% load translations %}
<p>
{% trans "Translation summary:" %}
</p>
<table>
<tr>
<th>
{% trans "Total strings:" %}
</th><td>
{{ translation.total }}
</td>
</tr>
<tr>
<td>
{% trans "Translated strings:" %}
</th><td>
{{ translation.translated }} ({{ translation.get_translated_percent }}%)
</td>
</tr>
<tr>
<td>
{% trans "Fuzzy strings:" %}
</th><td>
{{ translation.fuzzy }} ({{ translation.get_fuzzy_percent }}%)
</td>
</tr>
</table>
<p>
{% blocktrans %}You can translate at
<a
href=
"{{ translation_url }}"
>
{{ translation_url }}
</a>
{% endblocktrans %}
</p>
weblate/html/mail/merge_failure.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there has been a merge failure on {{ subproject }} at {{ site_title }}.
{% endblocktrans %}
<p>
<h2>
{% trans "Error message" %}
</h2>
<p>
{{ error }}
</p>
<h2>
{% trans "Repository status" %}
</h2>
<pre>
{{ status }}
</pre>
{% endblock %}
weblate/html/mail/new_comment.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there has been a new comment on {{ subproject }} at {{ site_title }}.
{% endblocktrans %}
</p>
<table>
<tr>
<th>
{% trans "Source string:" %}
</th>
<td>
{{ unit.source|fmttranslation }}
</td>
</tr>
<tr>
<th>
{% trans "Comment:" %}
</th>
<td>
{{ comment.comment }}
</td>
</tr>
</table>
<p>
{% trans "You can edit this string at:" %}
</p>
<p><a
href=
"http://{{ current_site }}{{ unit.get_absolute_url }}"
>
http://{{ current_site }}{{ unit.get_absolute_url }}
</a></p>
{% include "mail/footer.html" %}
{% endblock %}
weblate/html/mail/new_contributor.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title and user.get_full_name as username %}
{{ username }} has just made his first contribution on {{ translation }} at {{ site_title }}.
{% endblocktrans %}
<p>
{% include "mail/footer.html" %}
{% endblock %}
weblate/html/mail/new_string.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there are new strings to translate on {{ translation }} at {{ site_title }}.
{% endblocktrans %}
<p>
{% include "mail/footer.html" %}
{% endblock %}
weblate/html/mail/new_suggestion.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there is new suggestion evaluate on {{ translation }} at {{ site_title }}.
{% endblocktrans %}
<p>
<table>
<tr>
<th>
{% trans "Source string:" %}
</th>
<td>
{{ unit.source|fmttranslation }}
</td>
</tr>
<tr>
<th>
{% trans "Suggestion:" %}
</th>
<td>
{{ suggestion.target|fmttranslation:unit.translation.language }}
</td>
</tr>
{% if unit.translated %}
<tr>
<th>
{% trans "Translation change:" %}
</th>
<td>
{{ suggestion.target|fmttranslationdiff:unit }}
</td>
</tr>
{% endif %}
</table>
<p>
{% trans "You can review it at:" %}
</p>
<p>
<a
href=
"http://{{ current_site }}{{ suggestion.get_review_url }}"
>
http://{{ current_site }}{{ suggestion.get_review_url }}
</a>
</p>
{% include "mail/footer.html" %}
{% endblock %}
weblate/html/mail/new_translation.html
0 → 100644
View file @
6151a762
{% extends "mail/base.html" %}
{% load url from future %}
{% load i18n %}{% load translations %}
{% block content %}
<p>
{% trans "Hi,"%}
</p>
<p>
{% blocktrans with site|site_title as site_title %}
there has been new translation on {{ translation }} at {{ site_title }}.
{% endblocktrans %}
</p>
<table>
<tr>
<th>
{% trans "Source string:" %}
</th>
<td>
{{ unit.source|fmttranslation }}
</td>
</tr>
<tr>
<th>
{% trans "Translation:" %}
</th>
<td>
{{ unit.target|fmttranslation:unit.translation.language }}
</td>
</tr>
</table>
<p>
{% trans "You can edit this string at:" %}
</p>
<p><a
href=
"http://{{ current_site }}{{ unit.get_absolute_url }}"
>
http://{{ current_site }}{{ unit.get_absolute_url }}
</a></p>
{% include "mail/footer.html" %}
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment