v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-29 04:20:09 -07:00

translations

This commit is contained in:
Alexandr Nesterenko 2017-07-26 20:27:41 +03:00 committed by Alexandr Nesterenko
parent a040bec004
commit a60f5d27fb
6 changed files with 138 additions and 45 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-04 14:32-0700\n"
"POT-Creation-Date: 2017-07-26 20:24+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -57,7 +57,8 @@ msgstr "PolitePol.com: Generate RSS feeds for any web page"
msgid "brand"
msgstr "Polite Pol"
#: templates/frontend/index.html:16 templates/frontend/index.html.py:43
#: templates/frontend/index.html:15 templates/frontend/index.html.py:16
#: templates/frontend/index.html:43
msgid "help"
msgstr "Help"
@ -89,28 +90,72 @@ msgstr "Loading..."
msgid "subscribe.preview"
msgstr "Preview"
#: templates/frontend/setup.html:9
#: templates/frontend/setup.html:46
msgid "xpath.link"
msgstr "http://www.zvon.org/comp/r/tut-XPath_1.html"
#: templates/frontend/setup.html:54
msgid "setup.you_are_creating_feed_with"
msgstr "You are creating feed with"
#: templates/frontend/setup.html:10
#: templates/frontend/setup.html:55
msgid "setup.help"
msgstr ""
"Click on the button and move cursor to the below document and pick item you "
"interested in."
#: templates/frontend/setup.html:11
#: templates/frontend/setup.html:56
msgid "setup.title"
msgstr "Title"
#: templates/frontend/setup.html:11
#: templates/frontend/setup.html:56
msgid "setup.and"
msgstr "and"
#: templates/frontend/setup.html:12
#: templates/frontend/setup.html:57
msgid "setup.description"
msgstr "Description"
#: templates/frontend/setup.html:13
#: templates/frontend/setup.html:63
msgid "setup.item_xpath"
msgstr "Post xpath"
#: templates/frontend/setup.html:65 templates/frontend/setup.html.py:76
#: templates/frontend/setup.html:87 templates/frontend/setup.html.py:98
msgid "setup.skipped"
msgstr "Skipped"
#: templates/frontend/setup.html:66 templates/frontend/setup.html.py:77
#: templates/frontend/setup.html:88 templates/frontend/setup.html.py:99
msgid "setup.Selected"
msgstr "Selected %s items"
#: templates/frontend/setup.html:70
msgid "setup.title_xpath"
msgstr "Title xpath"
#: templates/frontend/setup.html:73 templates/frontend/setup.html.py:84
#: templates/frontend/setup.html:95
msgid "setup.Required"
msgstr "Required"
#: templates/frontend/setup.html:74 templates/frontend/setup.html.py:85
#: templates/frontend/setup.html:96
msgid "setup.Optional"
msgstr "Optional"
#: templates/frontend/setup.html:81
msgid "setup.link_xpath"
msgstr "Link xpath"
#: templates/frontend/setup.html:92
msgid "setup.description_xpath"
msgstr "Description xpath"
#: templates/frontend/setup.html:105 templates/frontend/setup.html.py:108
msgid "setup.config"
msgstr "and"
#: templates/frontend/setup.html:110
msgid "setup.create"
msgstr "Create"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-04 14:32-0700\n"
"POT-Creation-Date: 2017-07-26 20:24+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -58,7 +58,8 @@ msgstr "PolitePol.com: Создай RSS канал для любой веб-ст
msgid "brand"
msgstr "Polite Pol"
#: templates/frontend/index.html:16 templates/frontend/index.html.py:43
#: templates/frontend/index.html:15 templates/frontend/index.html.py:16
#: templates/frontend/index.html:43
msgid "help"
msgstr "Помощ"
@ -90,28 +91,72 @@ msgstr "Загрузка..."
msgid "subscribe.preview"
msgstr "Предпросмотр"
#: templates/frontend/setup.html:9
#: templates/frontend/setup.html:46
msgid "xpath.link"
msgstr ""
#: templates/frontend/setup.html:54
msgid "setup.you_are_creating_feed_with"
msgstr "Вы создаете ленту содержащую"
#: templates/frontend/setup.html:10
#: templates/frontend/setup.html:55
msgid "setup.help"
msgstr ""
"Нажмите на кнопку и переместите курсор на документ внизу и выберите нужный "
"блок"
#: templates/frontend/setup.html:11
#: templates/frontend/setup.html:56
msgid "setup.title"
msgstr "Название"
#: templates/frontend/setup.html:11
#: templates/frontend/setup.html:56
msgid "setup.and"
msgstr "и"
#: templates/frontend/setup.html:12
#: templates/frontend/setup.html:57
msgid "setup.description"
msgstr "Описание"
#: templates/frontend/setup.html:13
#: templates/frontend/setup.html:63
msgid "setup.item_xpath"
msgstr "Xpath поста"
#: templates/frontend/setup.html:65 templates/frontend/setup.html.py:76
#: templates/frontend/setup.html:87 templates/frontend/setup.html.py:98
msgid "setup.skipped"
msgstr "Пропущено"
#: templates/frontend/setup.html:66 templates/frontend/setup.html.py:77
#: templates/frontend/setup.html:88 templates/frontend/setup.html.py:99
msgid "setup.Selected"
msgstr "Выбрано %s элементов"
#: templates/frontend/setup.html:70
msgid "setup.title_xpath"
msgstr "Xpath названия"
#: templates/frontend/setup.html:73 templates/frontend/setup.html.py:84
#: templates/frontend/setup.html:95
msgid "setup.Required"
msgstr "Обязательное"
#: templates/frontend/setup.html:74 templates/frontend/setup.html.py:85
#: templates/frontend/setup.html:96
msgid "setup.Optional"
msgstr "Опциональное"
#: templates/frontend/setup.html:81
msgid "setup.link_xpath"
msgstr "Xpath ссылки"
#: templates/frontend/setup.html:92
msgid "setup.description_xpath"
msgstr "Xpath описания"
#: templates/frontend/setup.html:105 templates/frontend/setup.html.py:108
msgid "setup.config"
msgstr "и"
#: templates/frontend/setup.html:110
msgid "setup.create"
msgstr "Создать"

View File

@ -108,8 +108,10 @@ $(document).ready(function(){
});
$("#st-clicker-trigger").click(function(){
var ch = changed();
if (!ch || confirm($("#st-clicker-trigger").attr('confirm-text')))
if (!ch || confirm($("#st-clicker-trigger").attr('confirm-text'))) {
show_ext(false);
updateUI(_config);
}
return true;
});

View File

@ -9,11 +9,11 @@
}
#st-extended .form-horizontal .control-label {
padding-right: 10px;
width: 100px
width: 110px
}
#st-extended .form-horizontal .controls {
margin-left: 100px;
margin-left: 110px;
}
#st-extended .control-group > .controls > select {
@ -21,28 +21,29 @@
}
/* Large desktop */
#st-extended .form-horizontal .controls > input {
width: 530px
#st-extended .form-horizontal .controls {
width: 850px
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
#st-extended .form-horizontal .controls > input {
width: 430px
#st-extended .form-horizontal .controls {
width: 700px
}
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
#st-extended .form-horizontal .controls > input {
width: 230px
#st-extended .form-horizontal .controls {
width: 400px
}
}
/* Landscape phones and down */
@media (max-width: 480px) {
#st-extended .form-horizontal .controls > input {
width: 130px
#st-extended .form-horizontal .controls {
width: 250px
}
}
</style>
{% trans "xpath.link" as xpath_link %}
<div id="loader-bg"><div id="loader"></div></div>
<div id="restored-alert" class="alert fade in" style="display: none">
<button type="button" class="close" data-dismiss="alert">×</button>
@ -59,43 +60,43 @@
<div id="st-extended" style="float:left; display:none">
<form class="form-horizontal">
<div class="control-group info">
<label class="control-label">Item xpath:</label>
<label class="control-label"><a href="{{ xpath_link }}" target="_blank">{% trans 'setup.item_xpath' %}</a>:</label>
<div class="controls">
<input type="text" id="ste-parent" placeholder="Skipped" autocomplete="off"/>
<span class="help-inline">Selected %s</span>
<input type="text" id="ste-parent" placeholder="{% trans 'setup.skipped' %}" autocomplete="off"/>
<span class="help-inline" selected-text="{% trans 'setup.Selected' %}"></span>
</div>
</div>
<div class="control-group info">
<label class="control-label">Title xpath:</label>
<label class="control-label"><a href="{{ xpath_link }}" target="_blank">{% trans 'setup.title_xpath' %}</a>:</label>
<div class="controls">
<select disabled>
<option selected="selected">Required</option>
<option>Optional</option>
<option selected="selected">{% trans 'setup.Required' %}</option>
<option>{% trans 'setup.Optional' %}</option>
<select>
<input type="text" id="ste-title" class="input-xxlarge" placeholder="Skipped" autocomplete="off"/>
<span class="help-inline">Selected %s</span>
<input type="text" id="ste-title" class="input-xxlarge" placeholder="{% trans 'setup.skipped' %}" autocomplete="off"/>
<span class="help-inline">{% trans 'setup.Selected' %}</span>
</div>
</div>
<div class="control-group info">
<label class="control-label">Link xpath:</label>
<label class="control-label"><a href="{{ xpath_link }}" target="_blank">{% trans 'setup.link_xpath' %}</a>:</label>
<div class="controls">
<select style="width:100px" disabled>
<option>Required</option>
<option selected="selected">Optional</option>
<option>{% trans 'setup.Required' %}</option>
<option selected="selected">{% trans 'setup.Optional' %}</option>
<select>
<input type="text" id="ste-link" class="input-xxlarge" placeholder="Skipped" autocomplete="off"/>
<span class="help-inline">Selected %s</span>
<input type="text" id="ste-link" class="input-xxlarge" placeholder="{% trans 'setup.skipped' %}" autocomplete="off"/>
<span class="help-inline">{% trans 'setup.Selected' %}</span>
</div>
</div>
<div class="control-group info">
<label class="control-label">Description xpath:</label>
<label class="control-label"><a href="{{ xpath_link }}" target="_blank">{% trans 'setup.description_xpath' %}</a>:</label>
<div class="controls">
<select style="width:100px" disabled>
<option selected="selected">Required</option>
<option>Optional</option>
<option selected="selected">{% trans 'setup.Required' %}</option>
<option>{% trans 'setup.Optional' %}</option>
<select>
<input type="text" id="ste-description" class="input-xxlarge" placeholder="Skipped" autocomplete="off"/>
<span class="help-inline">Selected %s</span>
<input type="text" id="ste-description" class="input-xxlarge" placeholder="{% trans 'setup.skipped' %}" autocomplete="off"/>
<span class="help-inline">{% trans 'setup.Selected' %}</span>
</div>
</div>
</form>