1
0
Fork 0
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:
frankdelange 2014-12-10 12:27:43 +01:00
parent e3e68cc723
commit fd4c2c84e8
6 changed files with 124 additions and 23 deletions

View file

@ -1,6 +1,6 @@
<?php
$l = OC_L10N::get('files');
$l = OC_L10N::get('files_opds');
\OCP\App::registerPersonal('files_opds', 'personal');

View file

@ -1,3 +1,5 @@
<?php
//load the required files
$l = OC_L10N::get('files_reader');
OCP\Util::addscript( 'files_reader', 'loader');

View file

@ -3,11 +3,12 @@
<id>files_reader</id>
<name>Reader (ebook reader)</name>
<description>Online ePub file reader</description>
<version>0.4.4</version>
<version>0.4.5</version>
<licence>LGPL</licence>
<author>Frank de Lange, (taken clues from Thomas Müller/files_pdfviewer, using slightly modified Futurepress/epub.js)</author>
<require>7.0</require>
<shipped>false</shipped>
<default_enable/>
<standalone/>
<ocsid>167127</ocsid>
</info>

View file

@ -31,16 +31,16 @@
<div id="panels">
<input id="searchBox" placeholder="not implemented yet" type="search" disabled="">
<a id="show-Search" class="show_view icon-search" data-view="Search">
Search
<?php p($l->t("Search")); ?>
</a>
<a id="show-Toc" class="show_view icon-list-1 active" data-view="Toc">
TOC
<?php p($l->t("TOC")); ?>
</a>
<a id="show-Bookmarks" class="show_view icon-bookmark" data-view="Bookmarks">
Bookmarks
<?php p($l->t("Bookmarks")); ?>
</a>
<a id="show-Notes" class="show_view icon-edit" data-view="Notes">
Notes
<?php p($l->t("Notes")); ?>
</a>
</div>
<div id="tocView" class="view">
@ -58,7 +58,7 @@
<textarea id="note-text">
</textarea>
<button id="note-anchor">
Anchor
<?php p($l->t("Anchor")); ?>
</button>
</div>
<ol id="notes">
@ -69,7 +69,7 @@
<div id="titlebar">
<div id="opener">
<a id="slider" class="icon-menu">
Menu
<?php p($l->t("Menu")); ?>
</a>
</div>
<div id="metainfo">
@ -83,16 +83,16 @@
</div>
<div id="title-controls">
<a id="bookmark" class="icon-bookmark-empty">
Bookmark
<?php p($l->t("Bookmark")); ?>
</a>
<a id="setting" class="icon-cog">
Settings
<?php p($l->t("Settings")); ?>
</a>
<a id="fullscreen" class="icon-resize-full">
Fullscreen
<?php p($l->t("Fullscreen")); ?>
</a>
<a id="close" class="icon-cancel-circled2">
Close
<?php p($l->t("Close")); ?>
</a>
</div>
</div>
@ -117,13 +117,13 @@
<div class="modal md-effect-1" id="settings-modal">
<div class="md-content">
<h3>
Settings
<?php p($l->t("Settings")); ?>
</h3>
<div>
<p>
<input type="checkbox" id="ignore_css" name="ignore_css">
<label for="ignore_css">
Always use
<?php p($l->t("Always use")); ?>
</label>
<select id="fontFamily" disabled="">
<option value="verdana, trebuchet, droid sans serif, sans, sans-serif">
@ -136,25 +136,25 @@
Monospace
</option>
</select>
font scaled to
<?php p($l->t("font scaled to")); ?>
<input type="number" id="fontSize" value="100" min="50" max="150" disabled="">
%
</p>
<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>
<p>
<input type="checkbox" id="sidebarReflow" name="sidebarReflow">
<label for="sidebarReflow">
Reflow text when sidebars are open.
<?php p($l->t("Reflow text when sidebars are open.")); ?>
</label>
</p>
<p>
Night mode background
<?php p($l->t("Night mode background")); ?>
<input type="color" id="nightModeBackground" value="#000000">
and text
<?php p($l->t("and text")); ?>
<input type="color" id="nightModeColor" value="#3A516B">
colour
<?php p($l->t("colour")); ?>
</p>
<div id="nightModeExample" class="night">
<div>
@ -164,9 +164,9 @@
<p>
<input type="checkbox" id="touch_nav" name="touch_nav">
<label for="touch_nav" class="tooltip">
Disable extra-wide page turn areas
<?php p($l->t("Disable extra-wide page turn areas")); ?>
<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>
</label>
</p>

View file

@ -8,7 +8,7 @@ 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 09:37+0100\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"

View 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 ""