mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
More l10n preparations
This commit is contained in:
parent
e3e68cc723
commit
fd4c2c84e8
6 changed files with 124 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$l = OC_L10N::get('files');
|
$l = OC_L10N::get('files_opds');
|
||||||
|
|
||||||
\OCP\App::registerPersonal('files_opds', 'personal');
|
\OCP\App::registerPersonal('files_opds', 'personal');
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
//load the required files
|
//load the required files
|
||||||
|
|
||||||
|
$l = OC_L10N::get('files_reader');
|
||||||
OCP\Util::addscript( 'files_reader', 'loader');
|
OCP\Util::addscript( 'files_reader', 'loader');
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
<id>files_reader</id>
|
<id>files_reader</id>
|
||||||
<name>Reader (ebook reader)</name>
|
<name>Reader (ebook reader)</name>
|
||||||
<description>Online ePub file reader</description>
|
<description>Online ePub file reader</description>
|
||||||
<version>0.4.4</version>
|
<version>0.4.5</version>
|
||||||
<licence>LGPL</licence>
|
<licence>LGPL</licence>
|
||||||
<author>Frank de Lange, (taken clues from Thomas Müller/files_pdfviewer, using slightly modified Futurepress/epub.js)</author>
|
<author>Frank de Lange, (taken clues from Thomas Müller/files_pdfviewer, using slightly modified Futurepress/epub.js)</author>
|
||||||
<require>7.0</require>
|
<require>7.0</require>
|
||||||
<shipped>false</shipped>
|
<shipped>false</shipped>
|
||||||
<default_enable/>
|
<default_enable/>
|
||||||
<standalone/>
|
<standalone/>
|
||||||
|
<ocsid>167127</ocsid>
|
||||||
</info>
|
</info>
|
||||||
|
|
|
@ -31,16 +31,16 @@
|
||||||
<div id="panels">
|
<div id="panels">
|
||||||
<input id="searchBox" placeholder="not implemented yet" type="search" disabled="">
|
<input id="searchBox" placeholder="not implemented yet" type="search" disabled="">
|
||||||
<a id="show-Search" class="show_view icon-search" data-view="Search">
|
<a id="show-Search" class="show_view icon-search" data-view="Search">
|
||||||
Search
|
<?php p($l->t("Search")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">
|
<a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">
|
||||||
TOC
|
<?php p($l->t("TOC")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">
|
<a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">
|
||||||
Bookmarks
|
<?php p($l->t("Bookmarks")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="show-Notes" class="show_view icon-edit" data-view="Notes">
|
<a id="show-Notes" class="show_view icon-edit" data-view="Notes">
|
||||||
Notes
|
<?php p($l->t("Notes")); ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="tocView" class="view">
|
<div id="tocView" class="view">
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<textarea id="note-text">
|
<textarea id="note-text">
|
||||||
</textarea>
|
</textarea>
|
||||||
<button id="note-anchor">
|
<button id="note-anchor">
|
||||||
Anchor
|
<?php p($l->t("Anchor")); ?>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<ol id="notes">
|
<ol id="notes">
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
<div id="titlebar">
|
<div id="titlebar">
|
||||||
<div id="opener">
|
<div id="opener">
|
||||||
<a id="slider" class="icon-menu">
|
<a id="slider" class="icon-menu">
|
||||||
Menu
|
<?php p($l->t("Menu")); ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="metainfo">
|
<div id="metainfo">
|
||||||
|
@ -83,16 +83,16 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="title-controls">
|
<div id="title-controls">
|
||||||
<a id="bookmark" class="icon-bookmark-empty">
|
<a id="bookmark" class="icon-bookmark-empty">
|
||||||
Bookmark
|
<?php p($l->t("Bookmark")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="setting" class="icon-cog">
|
<a id="setting" class="icon-cog">
|
||||||
Settings
|
<?php p($l->t("Settings")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="fullscreen" class="icon-resize-full">
|
<a id="fullscreen" class="icon-resize-full">
|
||||||
Fullscreen
|
<?php p($l->t("Fullscreen")); ?>
|
||||||
</a>
|
</a>
|
||||||
<a id="close" class="icon-cancel-circled2">
|
<a id="close" class="icon-cancel-circled2">
|
||||||
Close
|
<?php p($l->t("Close")); ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -117,13 +117,13 @@
|
||||||
<div class="modal md-effect-1" id="settings-modal">
|
<div class="modal md-effect-1" id="settings-modal">
|
||||||
<div class="md-content">
|
<div class="md-content">
|
||||||
<h3>
|
<h3>
|
||||||
Settings
|
<?php p($l->t("Settings")); ?>
|
||||||
</h3>
|
</h3>
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="ignore_css" name="ignore_css">
|
<input type="checkbox" id="ignore_css" name="ignore_css">
|
||||||
<label for="ignore_css">
|
<label for="ignore_css">
|
||||||
Always use
|
<?php p($l->t("Always use")); ?>
|
||||||
</label>
|
</label>
|
||||||
<select id="fontFamily" disabled="">
|
<select id="fontFamily" disabled="">
|
||||||
<option value="verdana, trebuchet, droid sans serif, sans, sans-serif">
|
<option value="verdana, trebuchet, droid sans serif, sans, sans-serif">
|
||||||
|
@ -136,25 +136,25 @@
|
||||||
Monospace
|
Monospace
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
font scaled to
|
<?php p($l->t("font scaled to")); ?>
|
||||||
<input type="number" id="fontSize" value="100" min="50" max="150" disabled="">
|
<input type="number" id="fontSize" value="100" min="50" max="150" disabled="">
|
||||||
%
|
%
|
||||||
</p>
|
</p>
|
||||||
<div id="font_example" class="user">
|
<div id="font_example" class="user">
|
||||||
Et nos esse veri viri scire volemus
|
<?php p($l->t("Et nos esse veri viri scire volemus")); ?>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="sidebarReflow" name="sidebarReflow">
|
<input type="checkbox" id="sidebarReflow" name="sidebarReflow">
|
||||||
<label for="sidebarReflow">
|
<label for="sidebarReflow">
|
||||||
Reflow text when sidebars are open.
|
<?php p($l->t("Reflow text when sidebars are open.")); ?>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Night mode background
|
<?php p($l->t("Night mode background")); ?>
|
||||||
<input type="color" id="nightModeBackground" value="#000000">
|
<input type="color" id="nightModeBackground" value="#000000">
|
||||||
and text
|
<?php p($l->t("and text")); ?>
|
||||||
<input type="color" id="nightModeColor" value="#3A516B">
|
<input type="color" id="nightModeColor" value="#3A516B">
|
||||||
colour
|
<?php p($l->t("colour")); ?>
|
||||||
</p>
|
</p>
|
||||||
<div id="nightModeExample" class="night">
|
<div id="nightModeExample" class="night">
|
||||||
<div>
|
<div>
|
||||||
|
@ -164,9 +164,9 @@
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="touch_nav" name="touch_nav">
|
<input type="checkbox" id="touch_nav" name="touch_nav">
|
||||||
<label for="touch_nav" class="tooltip">
|
<label for="touch_nav" class="tooltip">
|
||||||
Disable extra-wide page turn areas
|
<?php p($l->t("Disable extra-wide page turn areas")); ?>
|
||||||
<span>
|
<span>
|
||||||
The extra-wide page turn areas as used by default on touch-screen devices interfere with the ability to select links in ebooks. When this option is enabled, the page-turn area is always outside the ebook margins so links are reachable.
|
<?php p($l->t("The extra-wide page turn areas as used by default on touch-screen devices interfere with the ability to select links in ebooks. When this option is enabled, the page-turn area is always outside the ebook margins so links are reachable.")); ?>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ownCloud Core 8.0.0\n"
|
"Project-Id-Version: ownCloud Core 8.0.0\n"
|
||||||
"Report-Msgid-Bugs-To: translations@owncloud.org\n"
|
"Report-Msgid-Bugs-To: translations@owncloud.org\n"
|
||||||
"POT-Creation-Date: 2014-12-10 09:37+0100\n"
|
"POT-Creation-Date: 2014-12-10 12:20+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
98
l10n/templates/files_reader.pot
Normal file
98
l10n/templates/files_reader.pot
Normal file
|
@ -0,0 +1,98 @@
|
||||||
|
# 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: ownCloud Core 8.0.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: translations@owncloud.org\n"
|
||||||
|
"POT-Creation-Date: 2014-12-10 12:20+0100\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=CHARSET\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: templates/reader.php:34
|
||||||
|
msgid "Search"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:37
|
||||||
|
msgid "TOC"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:40
|
||||||
|
msgid "Bookmarks"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:43
|
||||||
|
msgid "Notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:61
|
||||||
|
msgid "Anchor"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:72
|
||||||
|
msgid "Menu"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:86
|
||||||
|
msgid "Bookmark"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:89 templates/reader.php:120
|
||||||
|
msgid "Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:92
|
||||||
|
msgid "Fullscreen"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:95
|
||||||
|
msgid "Close"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:126
|
||||||
|
msgid "Always use"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:139
|
||||||
|
msgid "font scaled to"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:144
|
||||||
|
msgid "Et nos esse veri viri scire volemus"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:149
|
||||||
|
msgid "Reflow text when sidebars are open."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:153
|
||||||
|
msgid "Night mode background"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:155
|
||||||
|
msgid "and text"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:157
|
||||||
|
msgid "colour"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:167
|
||||||
|
msgid "Disable extra-wide page turn areas"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/reader.php:169
|
||||||
|
msgid ""
|
||||||
|
"The extra-wide page turn areas as used by default on touch-screen devices "
|
||||||
|
"interfere with the ability to select links in ebooks. When this option is "
|
||||||
|
"enabled, the page-turn area is always outside the ebook margins so links are "
|
||||||
|
"reachable."
|
||||||
|
msgstr ""
|
Loading…
Add table
Add a link
Reference in a new issue