Commit 692af561 authored by yPhil's avatar yPhil
Browse files

Two seasons, in 4 languages

parent a1cb9a77
......@@ -274,7 +274,14 @@ a:active {
background-color: var(--color-qua);
}
/* .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active { */
/* font-weight: normal; */
/* color: #454545; */
/* } */
.ui-button.ui-state-disabled,
.ui-tab.ui-state-default {
color: var(--color-non);
background: var(--color-non);
border-right: 1px solid var(--color-sep) !important;
}
......
......@@ -90,8 +90,8 @@ PTL.dialog = {
}
},
{
text: PTL.tr('Ok'),
title: PTL.tr('Ok'),
text: PTL.tr('OK'),
title: PTL.tr('OK'),
class: 'translate button-ok',
click: function() {
......
......@@ -227,8 +227,6 @@ PTL.feed = {
if (data.error || data.feedItems.length == 0) {
console.log('data: ', data.error.code);
var message = data.error.code ? data.error.code : PTL.tr('Empty feed');
PTL.util.console(PTL.tr('Problem reading feed [%1] Error type [%2]', feedUrl, message), 'warning');
......
......@@ -44,7 +44,7 @@ PTL.i18n.translations = {
"Delete": { fr: "Supprimer", ja: "削除", es: "Eliminar" },
"Name": { fr: "Nom", ja: "", es: "Nombre" },
"Position": { fr: "Position", ja: "ポジション", es: "Posición" },
"Ok": { fr: "Ok", ja: "Ok", es: "Ok" },
"OK": { fr: "OK", ja: "入る", es: "OK" },
"Menu": { fr: "Menu", ja: "メニュー", es: "Menú" },
// Pétrolette
......@@ -70,13 +70,20 @@ PTL.i18n.translations = {
"Slide transition" : { fr: "Transition image" , ja: "画像の遷移", es: "Transición de imagen" },
"Help" : { fr: "Aide" , ja: "助けて", es: "Ayuda" },
"Documentation" : { fr: "Documentation" , ja: "ドキュメンテーション", es: "Documentación" },
"JS Licences" : { fr: "Licences JS" , ja: "JSライセンス", es: "Licencias JS" },
"Console" : { fr: "Console" , ja: "コンソール", es: "Consola" },
"JavaScript licencing information" : { fr: "Informations de licence JavaScript" , ja: "JavaScriptのライセンス情報", es: "Información de licencia de JavaScript" },
"Send your love to Pétrolette" : { fr: "Aider Pétrolette" , ja: "Pétroletteにあなたの愛を送る", es: "Envíale tu amor a Pétrolette" },
"Search prefix" : { fr: "Préfixe de recherche" , ja: "検索プレフィックス", es: "Prefijo de búsqueda" },
"Restore default" : { fr: "Rétablir défaut" , ja: "デフォルトを復元", es: "Restaurar predet." },
"Restore default search prefix" : { fr: "Rétablir le préfixe de recherche par défaut" , ja: "デフォルトの検索プレフィックスを復元", es: "Restaurar el prefijo de búsqueda predeterminado" },
"English" : { fr: "English" , ja: "English", es: "English" },
"Français" : { fr: "Français" , ja: "Français", es: "Français" },
"日本語" : { fr: "日本語" , ja: "日本語", es: "日本語" },
......@@ -320,6 +327,10 @@ PTL.i18n.translations = {
"Flux: Kill" : { fr: "Feed: Supprimer", ja: "フィード:削除", es: "Flux: Eliminar" },
"Feed: Parameters" : { fr: "Flux: Paramètres", ja: "フィード:パラメータ", es: "Feed: Parámetros" },
"Feed type" : { fr: "Type de flux", ja: "フィードの種類", es: "Tipo de flux" },
"Type" : { fr: "Type", ja: "タイプ", es: "Tipo" },
"Feed group" : { fr: "Groupe du flux", ja: "ソースグループ", es: "Grupo fuente" },
"Mixed" : { fr: "Mixte", ja: "混合", es: "Mezclado" },
......@@ -349,8 +360,17 @@ PTL.i18n.translations = {
"Enter a website address/URL and click search, then OK, or simply enter the URL of the feed and click OK" : { fr: "Entrer l'adresse / URL d'un site Web, puis cliquer sur Rechercher et valider, ou directement l'adresse d'un flux et valider", ja: "ウェブサイトのアドレス/ URLを入力して[検索]をクリックし、次に[OK]をクリックするか、フィードの場所", es: "Ingrese la dirección / URL de un sitio web y haga clic en buscar, luego en Aceptar o ingrese directamente la ubicación del fuente" },
"Enter a website address/URL and click search, then OK, or simply enter the URL of the" : { fr: "Entrez une adresse / URL de site Web et cliquez sur Rechercher, puis sur OK, ou entrez simplement l'URL du", ja: "ウェブサイトのアドレス/ URLを入力して[検索]、[OK]の順にクリックするか、単にURLを入力します", es: "Ingrese la dirección / URL de un sitio web y haga clic en buscar, luego OK, o simplemente ingrese la URL del" },
"Heck, enter anything, and Pétrolette will build a feed from your search query" : { fr: "Bon, entrez n'importe quoi, et Pétrolette construira un flux à partir de votre requête de recherche", ja: "何かを入力すると、Pétroletteは検索クエリからソースを作成します。]をクリックし、次に[OK]をクリックするか、フィードの場所", es: "Diablos, ingrese cualquier cosa, y Pétrolette construirá una fuente a partir de su consulta de búsqueda" },
"Find the feed of this website, or build a new one from the search terms." : { fr: "Recherchez le flux de ce site Web ou créez-en un nouveau à partir des termes recherche.", ja: "このウェブサイトのフィードを見つけるか、検索用語から新しいフィードを作成してください。", es: "Busque el feed de este sitio web o cree uno nuevo a partir de los términos de búsqueda." },
"Move the current feed in this group" : { fr: "Déplacer le flux courant dans ce groupe", ja: "このグループの現在のフィードを移動する", es: "Mueve el fuente actual en este grupo" },
"Display only text" : { fr: "Affichage du texte seul", ja: "テキストのみ", es: "visualización del solo texto" },
......
......@@ -233,12 +233,12 @@ PTL.util = {
steps: [
{
element: 'input#feed-guess',
intro: '<span class="translate" data-content="Enter a website address/URL and click search, then OK, or simply enter the URL of the">' + PTL.tr('Enter a website address/URL and click search, then OK, or simply enter the URL of the') + '</span> <a class="help-rss" href="https://' + PTL.language + '.wikipedia.org/wiki/RSS">' + PTL.tr('feed') + '</a>. <span class="translate" data-content="Heck, enter anything, and Pétrolette will build a feed from your search query.">' + PTL.tr('Heck, enter anything, and Pétrolette will build a feed from your search query.') + '</span>',
intro: '<span class="translate" data-content="Enter a website address URL and click search, then OK, or simply enter the URL of the">' + PTL.tr('Enter a website address/URL and click search, then OK, or simply enter the URL of the') + '</span> <a class="help-rss" href="https://' + PTL.language + '.wikipedia.org/wiki/RSS">' + PTL.tr('feed') + '</a>. <span class="translate" data-content="Heck, enter anything, and Pétrolette will build a feed from your search query">' + PTL.tr('Heck, enter anything, and Pétrolette will build a feed from your search query') + '</span>',
position: 'bottom'
},
{
element: 'button#feed-guess',
intro: PTL.tr('Find the website\'s feed, or build a new one from the seach query.'),
intro: PTL.tr('Find the feed of this website, or build a new one from the search terms.'),
position: 'left'
},
{
......
......@@ -39,7 +39,8 @@
<fieldset id="feedType" class="prefsForm ui-widget ui-widget-content ui-corner-all">
<legend data-content="Type"
class="ui-corner-top translate">Type
class="ui-corner-top translate">
Type
</legend>
<div id="feedType"
......
......@@ -134,8 +134,7 @@
<div id="sideMenu" class="plip">
<fieldset class="menuForm ui-widget ui-widget-content ui-corner-all">
<legend id="languageLegend"
class="ui-corner-top translate"
<legend class="ui-corner-top translate"
data-content="Language">
Language
</legend>
......@@ -245,7 +244,7 @@
<div class="flex-box">
<div class="grow">
<label for="gallerySpeed" class="ui-helper-hidden">
<input type="text" id=""gallerySpeed" />
<input type="text" id="gallerySpeed" />
</label>
<div id="gallerySpeedSlider"
data-title="Slideshow speed"
......@@ -327,35 +326,36 @@
</fieldset>
<fieldset class="menuForm ui-widget ui-widget-content ui-corner-all">
<legend id="languageLegend"
class="ui-corner-top translate"
data-content="Search URL string">
Search URL string
<legend class="ui-corner-top translate"
data-content="Search prefix"
data-title="Search prefix">
Search prefix
</legend>
<div class="flex-box">
<!-- <input type="text" id="searchPrefix" class="grow" /> -->
<input name="searchPrefix"
id="searchPrefixInput"
class="unique ui-widget-content ui-corner-all translate"
placeholder="plop"
data-title="plip"
value=""
title="zz"
/>
placeholder="Search prefix"
data-title="Search prefix"
title="Search prefix"
value="" />
<button id="searchPrefixOkButton"
data-title="OK"
class="translate ui-button ui-corner-all ui-widget"
type="button"
title="OK">
Ok
data-title="OK"
data-content="OK"
title="OK"
type="button">
OK
</button>
<button id="searchPrefixRestoreButton"
data-title="Restore default"
data-title="Restore default search prefix"
data-content="Restore default"
class="last grow translate ui-button ui-corner-all ui-widget"
type="button"
title="Restore default">
title="Restore default search prefix">
Restore default
</button>
......@@ -363,8 +363,7 @@
</fieldset>
<fieldset class="menuForm ui-widget ui-widget-content ui-corner-all">
<legend id="languageLegend"
class="ui-corner-top translate"
<legend class="ui-corner-top translate"
data-content="Console">
Console
</legend>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment