Merge pull request #69 from Djiko/feature_i18n

Feature i18n
This commit is contained in:
Matthias Strubel committed 2014-08-31 18:45:57 +02:00
commit 71650d7f5c
6 files changed
+1301 -27

No files matched your search

+31 -27
View File
@@ -6,6 +6,10 @@
<script src="jquery.min.js"></script>
<script src="scripts.js"></script>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
<link rel="prefetch" type="application/l10n" href="locales/locales.ini" />
<script type="text/javascript" src="l10n.js"></script>
</head>
<body>
@@ -14,17 +18,17 @@
<div id="logo">
<h1>
<a href="/">
<img src="piratebox-logo-horizontal-white.png" alt="PirateBox" title="PirateBox - Share Freely">
<img src="piratebox-logo-horizontal-white.png" data-l10n-id="logoIMG" alt="PirateBox" title="PirateBox - Share Freely">
</a>
</h1>
</div>
<div id="menu-icon"><img src="menu.png" alt="Menu"></div>
<nav id="top-nav">
<ul>
<li><a href="/" class="current">Home</a></li>
<li><a href="board/">Forum</a></li>
<li><a href="/Shared/">Files</a></li>
<li><a href="#about">About</a></li>
<li><a href="/" class="current" data-l10n-id="navbarHome">Home</a></li>
<li><a href="board/" data-l10n-id="navbarForum">Forum</a></li>
<li><a href="/Shared/" data-l10n-id="navbarFiles">Files</a></li>
<li><a href="#about" data-l10n-id="navbarAbout">About</a></li>
</ul>
</nav>
</div>
@@ -33,37 +37,37 @@
<section id="content">
<div class="container">
<div id="welcome" class="card">
<h2>Welcome</h2>
<p>Now, first of all, there is nothing illegal or scary going on here. This is a social place where you can chat and share files with people around you, <strong>anonymously</strong>! This is an off-line network, specially designed and developed for file-sharing and chat services. Staying off the grid is a precaution to maintain your full anonymity. Please have fun, chat with people, and feel free to share any files you may like.</p>
<input id="thanks" class="button" type="submit" value="Thanks">
<h2 data-l10n-id="welcomeWelcome">Welcome</h2>
<p data-l10n-id="welcomeDescription">Now, first of all, there is nothing illegal or scary going on here. This is a social place where you can chat and share files with people around you, <strong data-l10n-id="anonymously">anonymously</strong>! This is an off-line network, specially designed and developed for file-sharing and chat services. Staying off the grid is a precaution to maintain your full anonymity. Please have fun, chat with people, and feel free to share any files you may like.</p>
<input id="thanks" class="button" type="submit" value="Thanks" data-l10n-id="welcomeThanksButton">
</div>
<div id="sidebar">
<div id="upload" class="card">
<h2>Upload</h2>
<iframe width="100%" height="80" src='http://piratebox.lan:8080'>
Your browser does not support iframes.. If you want to upload something, follow this <a href='http://piratebox.lan:8080'>Link</a>.
<h2 data-l10n-id="sidebarUpload">Upload</h2>
<iframe width="100%" height="80" src='http://piratebox.lan:8080' data-l10n-id="sidebarIframeNotSupported">
Your browser does not support iframes.. If you want to upload something, follow this <a href='http://piratebox.lan:8080' data-l10n-id="link">Link</a>.
</iframe>
<h3><a href="/Shared">Browse Files -></a></h3>
<h3><a href="/Shared" data-l10n-id="sidebarBrowseFiles">Browse Files -></a></h3>
</div>
</div>
<div id="main">
<div id="chat" class="card">
<h2>Chat</h2>
<h2 data-l10n-id="mainChatChat">Chat</h2>
<div id="shoutbox" class="shoutbox_content"></div>
<form method="POST" name="psowrte" id="sb_form" onsubmit='getTime();'>
<div id="shoutbox-input">
<input class="nickname" type="text" name="name" value="Anonymous" placeholder="Nickname">
<input class="message" type="text" name="data" placeholder="Message...">
<input class="button" type="submit" name="submit" value="Send">
<input class="nickname" type="text" name="name" value="Anonymous" placeholder="Nickname" data-l10n-id="mainChatName">
<input class="message" type="text" name="data" placeholder="Message..." data-l10n-id="mainChatMessage.placeholder">
<input class="button" type="submit" name="submit" value="Send" data-l10n-id="mainChatSend">
</div>
<div id="shoutbox-options">
<h3>Text Color:</h3>
<label for="def" class="bg-black"> <input name="color" type="radio" value="def" id="def" checked>Default</label>
<label for="blue" class="bg-blue"> <input name="color" type="radio" value="blue" id="blue" >Blue</label>
<label for="green" class="bg-green"> <input name="color" type="radio" value="green" id="green" >Green</label>
<label for="orange" class="bg-orange"> <input name="color" type="radio" value="orange" id="orange" >Orange</label>
<label for="red" class="bg-red"> <input name="color" type="radio" value="red" id="red" >Red</label>
<h3 data-l10n-id="mainChatTextColor">Text Color:</h3>
<label for="def" class="bg-black" data-l10n-id="mainShoutboxDefault"> <input name="color" type="radio" value="def" id="def" checked>Default</label>
<label for="blue" class="bg-blue" data-l10n-id="mainShoutboxBlue"> <input name="color" type="radio" value="blue" id="blue">Blue</label>
<label for="green" class="bg-green" data-l10n-id="mainShoutboxGreen"> <input name="color" type="radio" value="green" id="green">Green</label>
<label for="orange" class="bg-orange" data-l10n-id="mainShoutboxOrange"> <input name="color" type="radio" value="orange" id="orange">Orange</label>
<label for="red" class="bg-red" data-l10n-id="mainShoutboxRed"> <input name="color" type="radio" value="red" id="red">Red</label>
</div>
<input type="hidden" name="timestamp" id="timestamp">
<script language='JavaScript'>
@@ -81,11 +85,11 @@
<footer id="about">
<div class="container">
<p class="to-top"><a href="#header">Back to top</a></p>
<h2>About PirateBox</h2>
<p>Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
<p>PirateBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.</p>
<small>PirateBox is licensed under GPLv3.</small>
<p class="to-top"><a href="#header" data-l10n-id="footerBackToTop">Back to top</a></p>
<h2 data-l10n-id="footerAbout">About PirateBox</h2>
<p data-l10n-id="footerInspired">Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.</p>
<p data-l10n-id="footerFilesTopSafety">PirateBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.</p>
<small data-l10n-id="footerLicenceMain">PirateBox is licensed under GPLv3.</small>
</div>
</footer>
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,35 @@
# German strings
# vim: ft=jproperties
link = link
navbarHome = Home
navbarForum = Forum
navbarFiles = Dateien
navbarAbout.innerHTML = &uuml;ber
logoIMG.alt = PirateBox
logoIMG.title = PirateBox - Share Freely
welcomeWelcome = Wilkommen
welcomeDescription.innerHTML = Das Wichtigste vorweg: Hier geht nichts Illegales oder Unheimliches vor. Dies ist ein sozialer Platz, wo jeder chatten und Dateien austauschen kann und zwar anonym! Dies ist ein Offline-Netzwerk, speziell zum Filesharing und Chatten entwickelt. Vom Netz getrennt zu sein, ist die Voraussetzung fuer volle Anonymitaet. Hab Spass, chatte mit Menschen und teile Dateien, die du magst.
welcomeThanksButton.value = Thanks
sidebarUpload = Upload
sidebarIframeNotSupported = Your browser does not support iframes.. If you want to upload something, follow this
sidebarBrowseFiles.innerHTML = St&ouml;bere Dateien ->
mainChatChat = Chat
mainChatSend.value = Send
mainChatName.placeholder = Alias
mainChatName.value = Anonymous
mainChatMessage.placeholder = Message...
mainChatTextColor = Text Color:
mainShoutboxDefault = Default
mainShoutboxBlue = Blue
mainShoutboxGreen = Green
mainShoutboxOrange = Orange
mainShoutboxRed = Red
footerBackToTop = Back to top
footerAbout = About
footerInspired = Inspiriert durch Piratensender und der Freien Kultur Bewegung, ist die PirateBox ein in sich abgeschlossenes Geraet zur mobilen Zusammenarbeit und zum Filesharing. Die PirateBox nutzt freie, offene Software (FLOSS) um mobile, drahtlose Filesharing-Netzwerke aufzubauen, wo Nutzer Bilder, Video-, Audio-Dateien, Dokumente und andere digitale Inhalte teilen koennen.
footerFilesTopSafety = Die PirateBox wurde designt um sicher und ungefaehrlich zu sein. Es sind keine Logins/Anmeldungen erforderlich und keine Benutzer-Daten werden geloggt. Um Tracking zu vermeiden und Datenschutz sicherzustellen, ist das System absichtlich nicht mit dem Internet verbunden.
footerLicenceMain = PirateBox ist lizensiert unter GPLv3.
@@ -0,0 +1,35 @@
# English strings
# vim: ft=jproperties
link = link
navbarHome = Home
navbarForum = Forum
navbarFiles = Files
navbarAbout = About
logoIMG.alt = PirateBox
logoIMG.title = PirateBox - Share Freely
welcomeWelcome = Welcome
welcomeDescription.innerHTML = Now, first of all, there is nothing illegal or scary going on here. This is a social place where you can chat and share files with people around you, <strong>anonymously</strong>! This is an off-line network, specially designed and developed for file-sharing and chat services. Staying off the grid is a precaution to maintain your full anonymity. Please have fun, chat with people, and feel free to share any files you may like.
welcomeThanksButton.value = Thanks
sidebarUpload = Upload
sidebarIframeNotSupported = Your browser does not support iframes.. If you want to upload something, follow this
sidebarBrowseFiles = Browse Files ->
mainChatChat = Chat
mainChatSend.value = Send
mainChatName.placeholder = Alias
mainChatName.value = Anonymous
mainChatMessage.placeholder = Message...
mainChatTextColor = Text Color:
mainShoutboxDefault = Default
mainShoutboxBlue = Blue
mainShoutboxGreen = Green
mainShoutboxOrange = Orange
mainShoutboxRed = Red
footerBackToTop = Back to top
footerAbout = About
footerInspired = Inspired by pirate radio and the free culture movement, PirateBox is a self-contained mobile collaboration and file sharing device. PirateBox utilizes Free, Libre and Open Source software (FLOSS) to create mobile wireless file sharing networks where users can anonymously share images, video, audio, documents, and other digital content.
footerFilesTopSafety = LibraryBox is designed to be safe and secure. No logins are required and no user data is logged. The system is purposely not connected to the Internet in order to prevent tracking and preserve user privacy.
footerLicenceMain = PirateBox is licensed under GPLv3.
@@ -0,0 +1,35 @@
# French strings
# vim: ft=jproperties
link = lien
navbarHome = Accueil
navbarForum = Forum
navbarFiles = Fichiers
navbarAbout = À propos
logoIMG.alt = PirateBox
logoIMG.title = PirateBox - Partagez librement
welcomeWelcome = Bienvenue
welcomeDescription.innerHTML = Tout d'abord, il ne se passe rien d'illégal ou d'effrayant ici. C'est un lieu social où vous pouvez discuter et partager <strong>anonymement</strong> des fichiers avec les personnes qui vous cotoient! C'est un réseau hors ligne, spécialement conçu et développé pour le partage de fichiers et la discussion. Rester hors du web est une précaution qui permet de garantir votre totale anonymité. Amusez vous, discutez, et surtout partagez les fichiers que vous aimez.
welcomeThanksButton.value = Remerciements
sidebarUpload = Uploader
sidebarIframeNotSupported = Votre navigateur ne supporte pas les iframes. Si vous souhaitez uploader quelque chose, suivez ce
sidebarBrowseFiles = Parcourir les fichiers ->
mainChatChat = Chat
mainChatSend.value = Envoyer
mainChatName.placeholder = Pseudo
mainChatName.value = Anonyme
mainChatMessage.placeholder = Message...
mainChatTextColor = Couleur du texte:
mainShoutboxDefault = Défaut
mainShoutboxBlue = Bleu
mainShoutboxGreen = Vert
mainShoutboxOrange = Orange
mainShoutboxRed = Rouge
footerBackToTop = Vers le haut
footerAbout = À propos
footerInspired = Inspiré par les radios pirate et le mouvement de la culture libre, PirateBox est un dispositif mobile autonome de collaboration et de partage de fichiers. PirateBox utilise des logiciels libres pour créer des réseaux mobiles sans fils de partage de fichiers dont les utilisateurs peuvent partager de manière anonyme des images, des vidéos, de l'audio, des documents ou tout autre contenu numérique.
footerFilesTopSafety = LibraryBox est conçue pour être sûre et sécurisée. Aucun compte utilisateur n'est requis et aucune donnée utilisateur n'est sauvegardée. Le système n'est volontairement pas connecté à Internet afin de prévenir toute tentative de suivi et de préserver la vie privée de ses utilisateurs.
footerLicenceMain = PirateBox est distribuée sous licence GPLv3.
@@ -0,0 +1,8 @@
[de]
@import url(data.de.properties)
[en]
@import url(data.en.properties)
[fr]
@import url(data.fr.properties)