浏览代码

Update translations

Kandrashin Denis 13 年之前
父节点
当前提交
39151df003
共有 5 个文件被更改,包括 186 次插入8 次删除
  1. 7 4
      source/fb2find.ui
  2. 22 2
      source/fb2main.cpp
  3. 6 0
      source/fb2main.hpp
  4. 二进制
      source/ts/ru.qm
  5. 151 2
      source/ts/ru.ts

+ 7 - 4
source/fb2find.ui

@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>347</width>
-    <height>122</height>
+    <width>377</width>
+    <height>128</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -37,7 +37,10 @@
         </sizepolicy>
        </property>
        <property name="text">
-        <string>Find what:</string>
+        <string>&amp;Find what:</string>
+       </property>
+       <property name="buddy">
+        <cstring>editText</cstring>
        </property>
       </widget>
      </item>
@@ -51,7 +54,7 @@
      <item>
       <widget class="QPushButton" name="btnFind">
        <property name="text">
-        <string>Find Next</string>
+        <string>Find &amp;next</string>
        </property>
        <property name="default">
         <bool>true</bool>

+ 22 - 2
source/fb2main.cpp

@@ -328,7 +328,27 @@ void Fb2MainWindow::createActions()
     actionLink = act = new QAction(FB2::icon("insert-link"), tr("&Hiperlink"), this);
     menu->addAction(act);
 
-    actionBody = act = new QAction(FB2::icon("insert-object"), tr("&Body"), this);
+    menu->addSeparator();
+
+    actionSection = act = new QAction(FB2::icon("insert-object"), tr("&Section"), this);
+    menu->addAction(act);
+
+    actionTtile = act = new QAction(tr("&Title"), this);
+    menu->addAction(act);
+
+    actionAuthor = act = new QAction(tr("&Author"), this);
+    menu->addAction(act);
+
+    actionDescr = act = new QAction(tr("&Annotation"), this);
+    menu->addAction(act);
+
+    actionPoem = act = new QAction(tr("&Poem"), this);
+    menu->addAction(act);
+
+    actionStanza = act = new QAction(tr("&Stanza"), this);
+    menu->addAction(act);
+
+    actionBody = act = new QAction(tr("&Body"), this);
     menu->addAction(act);
 
     menuText = menu = menuBar()->addMenu(tr("Fo&rmat"));
@@ -709,7 +729,7 @@ void Fb2MainWindow::viewText()
     tool->addAction(actionImage);
     tool->addAction(actionNote);
     tool->addAction(actionLink);
-    tool->addAction(actionBody);
+    tool->addAction(actionSection);
 
     tool->addSeparator();
 

+ 6 - 0
source/fb2main.hpp

@@ -110,6 +110,12 @@ private:
         *actionNote,
         *actionLink,
         *actionBody,
+        *actionTtile,
+        *actionDescr,
+        *actionPoem,
+        *actionStanza,
+        *actionAuthor,
+        *actionSection,
         *actionTextBold,
         *actionTextItalic,
         *actionTextStrike,

二进制
source/ts/ru.qm


+ 151 - 2
source/ts/ru.ts

@@ -1,6 +1,60 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
 <TS version="2.0" language="ru_RU">
+<context>
+    <name>Fb2CodeFindDlg</name>
+    <message>
+        <source>Complete words</source>
+        <translation>Слова полностью</translation>
+    </message>
+</context>
+<context>
+    <name>Fb2Find</name>
+    <message>
+        <source>Find</source>
+        <translation>Поиск</translation>
+    </message>
+    <message>
+        <source>Find what:</source>
+        <translation type="obsolete">&amp;Образец:</translation>
+    </message>
+    <message>
+        <source>Find Next</source>
+        <translation type="obsolete">&amp;Найти далее</translation>
+    </message>
+    <message>
+        <source>Close</source>
+        <translation>Закрыть</translation>
+    </message>
+    <message>
+        <source>&amp;Direction</source>
+        <translation>На&amp;правление</translation>
+    </message>
+    <message>
+        <source>&amp;Up</source>
+        <translation>В&amp;верх</translation>
+    </message>
+    <message>
+        <source>&amp;Down</source>
+        <translation>В&amp;низ</translation>
+    </message>
+    <message>
+        <source>&amp;Case sensitive </source>
+        <translation>С &amp;учетом регистра</translation>
+    </message>
+    <message>
+        <source>&amp;Highlights all</source>
+        <translation>&amp;Подсветить</translation>
+    </message>
+    <message>
+        <source>Find &amp;next</source>
+        <translation>&amp;Найти далее</translation>
+    </message>
+    <message>
+        <source>&amp;Find what:</source>
+        <translation>&amp;Образец:</translation>
+    </message>
+</context>
 <context>
     <name>Fb2HeadItem</name>
     <message>
@@ -358,6 +412,30 @@
         <source>Zoom original</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>&amp;Section</source>
+        <translation>&amp;Секция &lt;section&gt;</translation>
+    </message>
+    <message>
+        <source>&amp;Title</source>
+        <translation>&amp;Заголовок &lt;title&gt;</translation>
+    </message>
+    <message>
+        <source>&amp;Author</source>
+        <translation>&amp;Автор &lt;author&gt;</translation>
+    </message>
+    <message>
+        <source>&amp;Annotation</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Poem</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Stanza</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>Fb2Note</name>
@@ -377,6 +455,10 @@
         <source>Title:</source>
         <translation>Заголовок:</translation>
     </message>
+    <message>
+        <source>TextLabel</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>Fb2NoteDlg</name>
@@ -385,6 +467,21 @@
         <translation>&lt;создать новый&gt;</translation>
     </message>
 </context>
+<context>
+    <name>Fb2SaveDialog</name>
+    <message>
+        <source>Fiction book files (*.fb2)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>Any files (*.*)</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Encoding</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
 <context>
     <name>Fb2WebView</name>
     <message>
@@ -408,7 +505,7 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <source>Open image...</source>
+        <source>Insert image...</source>
         <translation type="unfinished"></translation>
     </message>
 </context>
@@ -427,8 +524,60 @@
         <translation></translation>
     </message>
     <message>
-        <source>The tag &lt;body&gt; was not found.</source>
+        <source>The tag &lt;html&gt; was not found.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>&amp;Undo</source>
+        <translation type="unfinished">&amp;Отменить</translation>
+    </message>
+    <message>
+        <source>&amp;Redo</source>
+        <translation type="unfinished">&amp;Повторить</translation>
+    </message>
+    <message>
+        <source>Cu&amp;t</source>
+        <translation type="unfinished">Вы&amp;резать</translation>
+    </message>
+    <message>
+        <source>Cut the current selection&apos;s contents to the clipboard</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Copy</source>
+        <translation type="unfinished">&amp;Копировать</translation>
+    </message>
+    <message>
+        <source>Copy the current selection&apos;s contents to the clipboard</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Paste</source>
+        <translation type="unfinished">&amp;Вставить</translation>
+    </message>
+    <message>
+        <source>Paste the clipboard&apos;s contents into the current selection</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <source>&amp;Bold</source>
+        <translation type="unfinished">&amp;Жирный</translation>
+    </message>
+    <message>
+        <source>&amp;Italic</source>
+        <translation type="unfinished">&amp;Курсив</translation>
+    </message>
+    <message>
+        <source>&amp;Strikethrough</source>
+        <translation type="unfinished">&amp;Зачеркнутый</translation>
+    </message>
+    <message>
+        <source>Su&amp;perscript</source>
+        <translation type="unfinished">&amp;Верхний индекс</translation>
+    </message>
+    <message>
+        <source>Su&amp;bscript</source>
+        <translation type="unfinished">&amp;Нижний индекс</translation>
+    </message>
 </context>
 </TS>