Skip to content

Commit

Permalink
Fixes some typos; Improves L10N + README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Oct 4, 2019
1 parent ade4c09 commit 818e84d
Show file tree
Hide file tree
Showing 20 changed files with 65 additions and 50 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* <a href="https://netflix.youphptube.com/" target="_blank">Netflix demo page</a>
- We provide you a Netflix site sample. On this site you can subscribe (with real money on PayPal). this subscription will allow you to watch our private videos. There is an user that you can use to see how it works. user: test and pass: test.
* <a href="https://tutorials.youphptube.com/" target="_blank">Gallery demo page</a>
- We've provided a sample Video Gallery site, which is also our tutorials site. On this sample you can login, subscribe, like, dislike and comment. but you can not upload videos.
- We've provided a sample Video Gallery site, which is also our tutorials site. On this sample you can login, subscribe, like, dislike and comment. but you can not upload videos.
* <a href="http://demo.youphptube.com/" target="_blank">Full access demo site</a>
- We provide you a Demo site sample with full access to the admin account. You will need an admin password to upload and manage videos, it is by default. user: admin and pass: 123. Also there is a non admin user and password (Only for comments). user: test and pass: test.

Expand All @@ -26,7 +26,7 @@ I don´t want to read I just want you to show me how to install!!

Ok, check this out! https://tutorials.youphptube.com/video/streamer-and-encoder

For text-based tutorials and manual, look here: https://github.com/DanielnetoDotCom/YouPHPTube/wiki/Admin-manual
For text-based tutorials and the manual, look here: https://github.com/DanielnetoDotCom/YouPHPTube/wiki/Admin-manual

There, you can find some hints for troubleshooting as well.

Expand Down Expand Up @@ -55,10 +55,9 @@ Go get it <a href="https://github.com/DanielnetoDotCom/YouPHPTube-Encoder" targe
</div>

# Why do I need the Encoder?
You may want to install the encoder for a few reasons:
If you have a faster server than the public encoder server (which is likely to happen) or If you'd like a private way of encoding your videos
You may want to install the encoder for a few reasons, such as, if you have a faster server than the public encoder server (which is likely to be the case), or if you'd like a private way of encoding your videos.

But the mandatory installation if you are using a private network. The public encoder will not have access to send the videos to your streamer site
But, the installation is mandatory if you are using a private network. The public encoder will not have access to send the videos to your streamer site.

If your server does not have a public IP or uses an IP on some of these bands:
- 10.0.0.0/8
Expand All @@ -76,7 +75,7 @@ In order for you to be able to run YouPHPTube, there are certain tools that need
- MySQL 5.0+
- Apache web server 2.x (with mod_rewrite enabled)

# Comming version (already in code on master)
# In the upcoming version (already in the code on the master branch)
- Better support for Nginx and Microsofts IIS (experimental)

# Version 5.6
Expand All @@ -89,7 +88,7 @@ In order for you to be able to run YouPHPTube, there are certain tools that need

# Version 5.4
- Wavesurfer-visualisation for audio
- Add dynamic /help-page (also usefull for admins)
- Add dynamic /help-page (also useful for admins)
- Embeded videos from youtube are in a native player now (allow plugins for it)
- New options in advancedcustomised-plugin (minify js, disable add + share-button, disable the above player)
- Backend-work and tons of fixes for it
Expand Down
15 changes: 8 additions & 7 deletions locale/br.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t[' (Do not change the title yet, wait to finish download)'] = "(Não altere o título ainda, espere para terminar o download)";
$t['%s ERROR: You must set a ID on config'] = "%s ERRO: Você deve definir uma ID na configuração";
$t['%s ERROR: You must set a KEY on config'] = "%s ERROR: Você deve definir uma KEY em config";
Expand Down Expand Up @@ -465,10 +466,10 @@
$t['Watching Now'] = "Assistindo agora";
$t['You can not stream live videos'] = "Você não pode transmitir vídeos ao vivo";
$t['You have about %s minutes left of video storage!'] = "Você tem aproximadamente %s minutos restantes para armazenar vídeos!";
$t['years']="anos";
$t['months']="meses";
$t['weeks']="semanas";
$t['days']="dias";
$t['hours']="horas";
$t['minutes']="minutos";
$t['seconds']="segundos";
$t['years'] = "anos";
$t['months'] = "meses";
$t['weeks'] = "semanas";
$t['days'] = "dias";
$t['hours'] = "horas";
$t['minutes'] = "minutos";
$t['seconds'] = "segundos";
4 changes: 2 additions & 2 deletions locale/cn.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['<p>YouPHPTube! is an video-sharing website, The service was created by Daniel Neto in march 2017. </p><p>The software allow you to upload, view, share and comment on videos, and it makes use of WebM and H.264/MPEG-4 AVC to display a wide variety of user-generated and corporate media videos. </p><p>Best of all, YouPHPTube! is an open source solution that is freely available to everyone.</p>'] = "<p> YouPHPTube!是一个视频分享网站,该服务由Daniel Neto于2017年3月制作。</p><p>该软件允许您上传,查看,分享和评论视频,并利用WebM和H.264 / MPEG-4 AVC显示各种用户生成的和企业的媒体视频。 </p><p>最重要的是,YouPHPTube!是一个免费提供给大家的开源解决方案。</p>";
$t['About YouPHPTube!'] = "关于YouPHPTube!";
$t['About'] = "关于";
Expand Down Expand Up @@ -376,7 +377,7 @@
$t['Notify Subscribers'] = "通知订阅者";
$t['Off'] = "";
$t['On'] = "";
$t['Only verified users can upload'] = "只有验证的用户能上传";
$t['Only verified users can upload'] = "只有验证的用户能上传";
$t['Opacity'] = "Opacity";
$t['Original words found'] = "Original words found";
$t['Page'] = "";
Expand Down Expand Up @@ -744,4 +745,3 @@
$t['youtube-dl uses Python and some servers does not came with python as dafault, to install Python type:'] = "youtube-dl 需要 Python,但某些服务器并没有默认安装 Python,请安装Python:";
$t['installed , but your database is not up to date. This could lead to bugs. Please go to the update-site.'] = "installed , but your database is not up to date. This could lead to bugs. Please go to the update-site.";
$t['Showing {{ctx.start}} to {{ctx.end}} of {{ctx.total}} entries'] = "Showing {{ctx.start}} to {{ctx.end}} of {{ctx.total}} entries";

9 changes: 5 additions & 4 deletions locale/de.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "%s FEHLER: Du mußt eine ID in der config erstellen";
$t['%s ERROR: You must set a KEY on config'] = "%s ERROR: Du mußt einen KEY (Schlüssel) in der config generieren";
$t['(filtered from _MAX_ total entries)'] = "(gefiltert von _MAX_ total Einträgen)";
Expand Down Expand Up @@ -442,7 +443,7 @@
$t['This help us to track and dettect errors'] = "Hilft uns Fehler zu entdecken";
$t['This is an experimental resource'] = "";
$t['This page works only with MP4,MP3 and OGG-files, if you have or need any other format, try to install your own <a href=\'https://github.com/DanielnetoDotCom/YouPHPTube-Encoder\' class=\'btn btn-warning btn-xs\'>encoder</a> or use the <a href=\'https://encoder.youphptube.com/\' class=\'btn btn-warning btn-xs\'>public</a> one'] = "";
$t['This value must match with the language files on'] = "Dieser Eintrag muß mit den Sprachdateien übereinstimmen";
$t['This value must match with the language files on'] = "Dieser Eintrag muss mit den Sprachdateien übereinstimmen";
$t['This video was reported to our team, we will review it soon'] = "Video wurde gemeldet und wird bald geprüpft";
$t['Thumbs Down'] = "Daumen runter";
$t['Thumbs Up'] = "Daumen hoch";
Expand All @@ -458,9 +459,9 @@
$t['Total Amount'] = "Gesamt";
$t['Total Duration Videos (Minutes)'] = "Gesamtdauer (Minuten)";
$t['Total Subscriptions'] = "Gesamtanzahl Abonnements";
$t['Total Users'] = "Benutzer gesammt";
$t['Total Video Comments'] = "Videokommentare gesammt";
$t['Total Videos'] = "Videos gesammt";
$t['Total Users'] = "Benutzer insgesamt";
$t['Total Video Comments'] = "Videokommentare insgesamt";
$t['Total Videos'] = "Videos insgesamt";
$t['Total Videos Dislikes'] = "";
$t['Total Videos Likes'] = "";
$t['Total Videos Views'] = "";
Expand Down
7 changes: 4 additions & 3 deletions locale/es.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['<p>YouPHPTube! is an video-sharing website, The service was created by Daniel Neto in march 2017. </p><p>The software allow you to upload, view, share and comment on videos, and it makes use of WebM and H.264/MPEG-4 AVC to display a wide variety of user-generated and corporate media videos. </p><p>Best of all, YouPHPTube! is an open source solution that is freely available to everyone.</p>'] = "<P> ¡YouPHPTube! Es un sitio web de intercambio de videos, el servicio fue creado por Daniel Neto en marzo de 2017. El software le permite cargar, ver, compartir y comentar videos, y hace uso de WebM y H.264 / MPEG-4 AVC para mostrar una amplia variedad de videos de medios generados por el usuario y corporativos. </p><p> Lo mejor de todo, YouPHPTube! Es una solución de código abierto que está disponible gratuitamente para todos. </p>";
$t['About YouPHPTube!'] = "Acerca de YouPHPTube!";
$t['About'] = "Acerca de";
Expand Down Expand Up @@ -114,7 +115,7 @@
$t['Most watched'] = "Más vistos";
$t['Most'] = "más";
$t['My Account'] = "Mi cuenta";
$t['My Channel'] = "Mi página";
$t['My Channel'] = "Mi página";
$t['My Wallet'] = "Mi billetera";
$t['My list'] = "Mi lista";
$t['My videos'] = "Mis videos";
Expand All @@ -128,14 +129,14 @@
$t['Notify Subscribers'] = "Notificar a los suscriptores";
$t['Off'] = "Apagado";
$t['On'] = "En";
$t['Only verified users can upload'] = "Solo usarios verificados pueden subir medios";
$t['Only verified users can upload'] = "Solo usarios verificados pueden subir medios";
$t['Original words found'] = "Palabras originales encontradas";
$t['Password'] = "Contraseña";
$t['Paste here the translated words'] = "Pegue aquí las palabras traducidas";
$t['Permission denied'] = "Permiso denegado";
$t['Play'] = "Reproducir";
$t['Please sign in'] = "Por Favor regístrese";
$t['Powered by'] = "Energizado por";
$t['Powered by'] = "Energizado por";
$t['Premium video'] = "Video premium";
$t['Preview'] = "Avance";
$t['Previous'] = "Anterior";
Expand Down
3 changes: 2 additions & 1 deletion locale/fr.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "%s ERREUR: Tu doit définir une ID";
$t['%s ERROR: You must set a KEY on config'] = "%s ERREUR: Tu doit définir une clé";
$t[': activate to sort column ascending'] = ": Activer pour trier par ordre croissant";
Expand Down Expand Up @@ -237,7 +238,7 @@
$t['No results found!'] = "Pas de résultat";
$t['Notify Subscribers'] = "Notifier Abonnés";
$t['On'] = "On";
$t['Only verified users can upload'] = "Seulement les utilisateurs vérifiés peuvent ajouter du contenu";
$t['Only verified users can upload'] = "Seulement les utilisateurs vérifiés peuvent ajouter du contenu";
$t['Opacity'] = "Opacité";
$t['Original words found'] = "Des mots originaux trouvés";
$t['Page'] = "Page";
Expand Down
1 change: 1 addition & 0 deletions locale/il.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "% s ERROR: עליך להגדיר מזהה בתצורה";
$t['%s ERROR: You must set a KEY on config'] = "% s ERROR: עליך להגדיר KEY על התצורה";
$t['(filtered from _MAX_ total entries)'] = "(מסוננים מרשימות _MAX_ סה\"כ)";
Expand Down
1 change: 1 addition & 0 deletions locale/in.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['<p>YouPHPTube! is an video-sharing website, The service was created by Daniel Neto in march 2017. </p><p>The software allow you to upload, view, share and comment on videos, and it makes use of WebM and H.264/MPEG-4 AVC to display a wide variety of user-generated and corporate media videos. </p><p>Best of all, YouPHPTube! is an open source solution that is freely available to everyone.</p>'] = "<P> YouPHPTube! एक वीडियो साझाकरण वेबसाइट है, यह सेवा डैनियल नेटो द्वारा मार्च 2017 में बनाई गई थी। </p><p> सॉफ्टवेयर आपको वीडियो अपलोड करने, देखने, साझा करने और टिप्पणी करने की अनुमति देता है, और यह वेबएम और एच .264 का उपयोग करता है / एमपीईजी -4 एवीसी उपयोगकर्ता-व्युत्पन्न और कॉर्पोरेट मीडिया वीडियो की एक विस्तृत विविधता प्रदर्शित करने के लिए। </p><p> सभी के सर्वश्रेष्ठ, YouPHPTube! एक खुला स्रोत समाधान है जो सभी के लिए स्वतंत्र रूप से उपलब्ध है। </p>";
$t['About YouPHPTube!'] = "YouPHPTube के बारे में!";
$t['About'] = "के बारे में";
Expand Down
24 changes: 12 additions & 12 deletions locale/index.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

if(isset($_GET['getLanguage'])) {

$lngFile = './'.strtolower(str_replace(['.', '/', '\\'], '', $_GET['getLanguage'])).'.php';
if(!file_exists($lngFile)) {
header('HTTP/1.0 404 Not Found');
exit;
}

require_once($lngFile);
echo json_encode($t);
exit;
Expand Down Expand Up @@ -54,7 +54,7 @@ function listAll($dir) {
<title><?php echo $config->getWebSiteTitle();?></title>
<?php
include $global['systemRootPath'] . 'view/include/head.php';

?>
<style type="text/css">
textarea.form-control {
Expand All @@ -71,7 +71,7 @@ function listAll($dir) {

<div class="row">
<div class="col-lg-4"></div>
<div class="col-lg-2">
<div class="col-lg-2">
<div id="navBarFlag2" data-input-name="country2"></div>
<script>
$(function () {
Expand All @@ -96,24 +96,24 @@ function listAll($dir) {
$('#translatedCode').append('\n');
}
});

tb1.scroll(function() {
tb2.scrollTop(tb1.scrollTop());
});


}).fail(function(){
console.log("New translation");
tb1.scroll(function() {

});
});
}
});
});
</script>
</div>
<div class="col-lg-2">
<div class="col-lg-2">
<button class="btn btn-success center-block" id="btnSaveFile" disabled><?php echo __("Save File"); ?></button>
</div>
<div class="col-lg-4"></div>
Expand Down Expand Up @@ -144,11 +144,11 @@ function listAll($dir) {
?>
<div class="row">
<div class="col-lg-1"></div>
<div class="col-lg-10 alert alert-info">
<div class="col-lg-10 alert alert-info">
<?php echo __("You need to make your locale folder writable"); ?>
<pre><code>chown www-data:www-data <?php echo $global['systemRootPath']; ?>locale && sudo chmod -R 755 <?php echo $global['systemRootPath']; ?>locale</code></pre>
</div>
<div class="col-lg-1">
<div class="col-lg-1">
</div>
</div>
<?php
Expand Down Expand Up @@ -201,7 +201,7 @@ function listAll($dir) {
});
});
});

</script>
</body>
</html>
5 changes: 3 additions & 2 deletions locale/nl.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "%s ERROR: Een ID moet worden ingesteld";
$t['%s ERROR: You must set a KEY on config'] = "%s ERROR: Een KEY moet worden ingesteld";
$t['465 OR 587'] = "465 OF 587";
Expand Down Expand Up @@ -100,7 +101,7 @@
$t['First Page Mode'] = "Voorpagina modus";
$t['For Live streaming is necessary enable flash in your browser.'] = "Het activeren van Flash is nodig voor live-streaming.";
$t['For faster encode, download your own encoder'] = "Voor snellere encoding, download uw eigen encoder";
$t['Gallery'] = "Gallerij";
$t['Gallery'] = "Galerij";
$t['Get Facebook ID and Key'] = "Facebook ID en Key verkrijgen";
$t['Get Google ID and Key'] = "Google ID en Key verkrijgen";
$t['Get imgage error'] = "Ophalen imgage is mislukt";
Expand Down Expand Up @@ -148,7 +149,7 @@
$t['New User Groups'] = "Nieuwe gebruikersgroep";
$t['No'] = "Neem vandaag nog contact met ons op!";
$t['Notify Subscribers'] = "Abbonees informeren";
$t['Original words found'] = "Orgineel woorden gevonden";
$t['Original words found'] = "Origineel woorden gevonden";
$t['Password'] = "Wachtwoord";
$t['Paste here the translated words, one each line'] = "Plak hier de vertaalde woorden, één voor elke regel";
$t['Permission denied'] = "Geen toegang";
Expand Down
3 changes: 2 additions & 1 deletion locale/pl.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "%s Błąd: Musisz podać identyfikator (ID) w konfiruracji";
$t['%s ERROR: You must set a KEY on config'] = "%s Błąd: Musisz podać klucz (KEY) w konfiruracji";
$t[': activate to sort column ascending'] = ": aktywuj dla sortowania rosnącego";
Expand All @@ -22,7 +23,7 @@
$t['Advanced Configuration'] = "Zaawansowana konfiguracja";
$t['Advanced configuration'] = "Zaawansowana konfiguracja";
$t['Allow Download This Video'] = "Pozwól pobierać klip wideo";
$t['Allow Share This Video'] = "Pozwól dzielić się klipem wideo";
$t['Allow Share This Video'] = "Pozwól dzielić się klipem wideo";
$t['Advanced configurations are disabled'] = "Zaawansowana konfiguracja jest niedostępna";
$t['Advertising Manager'] = "Manager reklamy";
$t['Advertising Title'] = "Tytuł reklamy";
Expand Down
15 changes: 8 additions & 7 deletions locale/pt.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['%s ERROR: You must set a ID on config'] = "% s ERROR: você deve definir uma identificação na configuração";
$t['%s ERROR: You must set a KEY on config'] = "% s ERROR: você deve definir uma tecla na configuração";
$t['465 OR 587'] = "465 OU 587";
Expand Down Expand Up @@ -235,10 +236,10 @@
$t['Title'] = "Título";
$t['To install it right away for all UNIX users (Linux, OS X, etc.), type: '] = "Para instalá-lo imediatamente para todos os usuários do UNIX (Linux, OS X, etc.), digite:";
$t['To installations instructions try this link: '] = "Para instruções de instalação";
$t['years']="anos";
$t['months']="meses";
$t['weeks']="semanas";
$t['days']="dias";
$t['hours']="horas";
$t['minutes']="minutos";
$t['seconds']="segundos";
$t['years'] = "anos";
$t['months'] = "meses";
$t['weeks'] = "semanas";
$t['days'] = "dias";
$t['hours'] = "horas";
$t['minutes'] = "minutos";
$t['seconds'] = "segundos";
1 change: 1 addition & 0 deletions locale/sa.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
global $t;

$t['<p>YouPHPTube! is an video-sharing website, The service was created by Daniel Neto in march 2017. </p><p>The software allow you to upload, view, share and comment on videos, and it makes use of WebM and H.264/MPEG-4 AVC to display a wide variety of user-generated and corporate media videos. </p><p>Best of all, YouPHPTube! is an open source solution that is freely available to everyone.</p>'] = "<p> يوفبتوب! هو موقع مشاركة الفيديو، تم إنشاء الخدمة من قبل دانيال نيتو في مارس 2017. </p><p> البرنامج يسمح لك لتحميل وعرض ومشاركة والتعليق على أشرطة الفيديو، ويستفيد من ويب و H.264 / مبيغ-4 أفك لعرض مجموعة واسعة من أشرطة الفيديو وسائل الإعلام التي أنشأها المستخدم والشركات. </p><p> أفضل للجميع، يوفبتوب! هو حل مفتوح المصدر متاح مجانا للجميع. </p>";
$t['About YouPHPTube!'] = "حول يوفبتوب!";
$t['About'] = "حول";
Expand Down
2 changes: 1 addition & 1 deletion locale/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$obj->status = 0;
$obj->error = sprintf(__("Your %slocale dir is not writable"), $global['systemRootPath']);
die(json_encode($obj));
}
}
$file = $dir.strtolower($_POST['flag']).".php";
$myfile = fopen($file, "w") or die("Unable to open file!");
if(!$myfile){
Expand Down
Loading

0 comments on commit 818e84d

Please sign in to comment.