[www-doc] [Git][VideoLAN.org/websites][master] 2 commits: Update www.videolan.org/developers/i18n/index.php

Konstantin Pavlov gitlab at videolan.org
Wed Jun 10 21:12:09 CEST 2020



Konstantin Pavlov pushed to branch master at VideoLAN organization / websites


Commits:
3dc27818 by Roj Serbest at 2020-06-10T15:50:08+02:00
Update www.videolan.org/developers/i18n/index.php
- - - - -
f31cf5a4 by Roj Serbest at 2020-06-10T15:51:57+02:00
Fixed typo.
- - - - -


2 changed files:

- www.videolan.org/developers/i18n/index.php
- www.videolan.org/developers/i18n/vlc-howto.php


Changes:

=====================================
www.videolan.org/developers/i18n/index.php
=====================================
@@ -47,13 +47,13 @@ should contact him to coordinate help.</p>
 <?php
 $lgfile="languages";
 
-$file_id = fopen( $lgfile,"r" );
-$contents = fread( $file_id, filesize($lgfile) );
-fclose( $file_id );
+$file_id = fopen( $lgfile, "r");
+$contents = fread($file_id, filesize($lgfile));
+fclose($file_id);
 
-$langs = explode( "\n", $contents );
+$langs = explode("\n", $contents);
 
-for( $i = 0; $i < count($langs) - 1; $i++ )
+for ($i = 0; $i < count($langs) - 1; $i++)
 {
     list( $lang, $po, $maint, $mail) = explode( '|', $langs[$i] );
 


=====================================
www.videolan.org/developers/i18n/vlc-howto.php
=====================================
@@ -41,12 +41,12 @@ Copy the resulting <i>vlc.mo</i> file to <i>/usr/local/share/locale/<LANG>
 <h3>How to test your localization on MacOS X ?</h3>
 
 <p>If you do not have GNU gettext installed (you'd probably know if you had
-it :), you must download its binaries from our website : 
+it :), you must download its binaries from our website: 
 <a href="http://download.videolan.org/pub/videolan/contrib/devtools/gettext-macosx.tar.gz">http://download.videolan.org/pub/videolan/devtools/gettext-macosx.tar.gz</a></p>
 
-<p>Extract them into the current directory : <kbd>tar xvzf gettext-macosx.tar.gz</kbd>.</p>
+<p>Extract them into the current directory: <kbd>tar xvzf gettext-macosx.tar.gz</kbd>.</p>
 
-<p>Use the convert-po.sh script attached :<br />
+<p>Use the convert-po.sh script attached:<br />
 <kbd>  setenv PATH gettext-macosx:$PATH<br />
   setenv DYLD_LIBRARY_PATH=gettext-macosx<br />
   ./convert-po.sh <LANG>.po</kbd>



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/compare/dbf3ca96f293953361b2e36e3cebb2bb361457a2...f31cf5a4dab85d1a00386eb34f438d60b0ab2789

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/-/compare/dbf3ca96f293953361b2e36e3cebb2bb361457a2...f31cf5a4dab85d1a00386eb34f438d60b0ab2789
You're receiving this email because of your account on code.videolan.org.




More information about the www-doc mailing list