v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-18 23:30:14 -07:00

translations

This commit is contained in:
Alexandr Nesterenko 2016-07-16 17:41:07 -07:00
parent 203e6e69d8
commit f63531fdd1
7 changed files with 157 additions and 12 deletions

Binary file not shown.

View File

@ -0,0 +1,72 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-16 17:27-0700\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: templates/base.html:57 templates/frontend/index.html:8
msgid "brand"
msgstr "Polite Pol"
#: templates/frontend/index.html:10
msgid "hello"
msgstr "Create you feed yourself!"
#: templates/frontend/index.html:21
msgid "go"
msgstr "Go!"
#: templates/frontend/preview.html:11
msgid "subscribe.feed_ready"
msgstr "Feed is ready!"
#: templates/frontend/preview.html:19
msgid "subscribe.your_feed"
msgstr "Your feed"
#: templates/frontend/preview.html:26
msgid "subscribe.loading"
msgstr "Loading..."
#: templates/frontend/preview.html:35
msgid "subscribe.preview"
msgstr "Preview"
#: templates/frontend/setup.html:8
msgid "setup.you_are_creating_feed_with"
msgstr ""
#: templates/frontend/setup.html:9
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:10
msgid "setup.title"
msgstr "Title"
#: templates/frontend/setup.html:10
msgid "setup.and"
msgstr "and"
#: templates/frontend/setup.html:11
msgid "setup.description"
msgstr "Description"
#: templates/frontend/setup.html:12
msgid "setup.create"
msgstr "Create"

Binary file not shown.

View File

@ -0,0 +1,74 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-16 17:13-0700\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: templates/base.html:57 templates/frontend/index.html:8
msgid "brand"
msgstr "Polite Pol"
#: templates/frontend/index.html:10
msgid "hello"
msgstr "Создай новостную ленту сам!"
#: templates/frontend/index.html:21
msgid "go"
msgstr "Поехали!"
#: templates/frontend/preview.html:11
msgid "subscribe.feed_ready"
msgstr "Лента готова!"
#: templates/frontend/preview.html:19
msgid "subscribe.your_feed"
msgstr "Ваша лента:"
#: templates/frontend/preview.html:26
msgid "subscribe.loading"
msgstr "Загрузка..."
#: templates/frontend/preview.html:35
msgid "subscribe.preview"
msgstr "Предпросмотр"
#: templates/frontend/setup.html:8
msgid "setup.you_are_creating_feed_with"
msgstr "Вы создаете ленту содержащую"
#: templates/frontend/setup.html:9
msgid "setup.help"
msgstr ""
"Нажмите на кнопку и переместите курсор на документ внизу и выберите нужный "
"блок"
#: templates/frontend/setup.html:10
msgid "setup.title"
msgstr "Название"
#: templates/frontend/setup.html:10
msgid "setup.and"
msgstr "и"
#: templates/frontend/setup.html:11
msgid "setup.description"
msgstr "Описание"
#: templates/frontend/setup.html:12
msgid "setup.create"
msgstr "Создать"

View File

@ -8,7 +8,7 @@
{% block content %}
<div class="page-header">
<h1>Feed is ready</h1>
<h1>{% trans 'subscribe.feed_ready' %}</h1>
</div>
<div class="media">
<a class="pull-left" href="{{ feed_url }}">
@ -16,16 +16,14 @@
</a>
<div class="media-body">
<h4 class="media-heading">subscribe.your_feed <a href="?" target="_blank">subscribe.rss_help_link</a>
:</h4>
<h4 class="media-heading">{% trans 'subscribe.your_feed' %}:</h4>
<h3>
<a href="{{ feed_url }}" target="_blank">{{ feed_url }}</a>
</h3>
</div>
<div id="preview" class="well" style="margin-bottom: 60px">
subscribe.loading
{% trans 'subscribe.loading' %}
</div>
<script type="text/javascript">
function tryGetFeed() {
@ -34,7 +32,7 @@
success: function (feed) {
if ('items' in feed) {
$('#preview').empty()
.append($('<h3 style="margin-top: 0;"></h3>').append("<%= I18n.t('subscribe.preview') %>: "));
.append($('<h3 style="margin-top: 0;"></h3>').append("{% trans 'subscribe.preview' %}: "));
/*.append($('<div></div>').append($('<a/>').attr('href', feed.link).attr('target', '_blank').text(feed.title)))*/
var html = '';

View File

@ -1,14 +1,15 @@
{% extends "base.html" %}
{% load i18n %}_
{% block content %}
<div class="page-header">
<!--h1 style="display: inline">Feed setup:</h1-->
<h2 style="display: inline" id="setup-tool-string">
You are creating feed with
<button id="st-title" class="btn btn-large has-tooltip" title="Click on the button and move cursor to the below document and pick item you interested in."
data-trigger="hover focus manual" data-animation="true">Title</button> and
<button id="st-description" class="btn btn-large">Description</button>.
<button id="create" class="btn btn-large btn-primary disabled" style="padding-right: 13px; float:right" data-page-url="{{ page_url }}" data-feed-page-url="{{ feed_page_url }}">Create <i class="icon-arrow-right icon-white" style="margin-top: 3px"></i></button>
{% trans 'setup.you_are_creating_feed_with' %}
<button id="st-title" class="btn btn-large has-tooltip" title="{% trans 'setup.help' %}"
data-trigger="hover focus manual" data-animation="true">{% trans 'setup.title' %}</button> {% trans 'setup.and' %}
<button id="st-description" class="btn btn-large">{% trans 'setup.description' %}</button>.
<button id="create" class="btn btn-large btn-primary disabled" style="padding-right: 13px; float:right" data-page-url="{{ page_url }}" data-feed-page-url="{{ feed_page_url }}">{% trans 'setup.create' %} <i class="icon-arrow-right icon-white" style="margin-top: 3px"></i></button>
</h2>
</div>

View File

@ -1,4 +1,4 @@
#sudo apt-get install libmysqlclient-dev libxml2-dev libxslt-dev python-dev libffi-dev gcc libssl-dev
#sudo apt-get install libmysqlclient-dev libxml2-dev libxslt-dev python-dev libffi-dev gcc libssl-dev gettext_
Django==1.8.6
lxml==3.3.3
Scrapy==1.0.3