diff options
author | friendica <info@friendica.com> | 2014-01-21 23:09:33 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-21 23:09:33 -0800 |
commit | 3b375a3d3f6d0d7fef885edcc75097564a1f7987 (patch) | |
tree | 99eab27f80a4c6d950ec6ed48c039ba574939559 /doc | |
parent | a13393fb230f83cbb93ad36494ce337ef5c48ee0 (diff) | |
download | volse-hubzilla-3b375a3d3f6d0d7fef885edcc75097564a1f7987.tar.gz volse-hubzilla-3b375a3d3f6d0d7fef885edcc75097564a1f7987.tar.bz2 volse-hubzilla-3b375a3d3f6d0d7fef885edcc75097564a1f7987.zip |
fix location of string file in Translations.md, fix some permissions and owner vagueness (potential bugs) in profile_tabs()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Translations.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Translations.md b/doc/Translations.md index 1ebdfb67d..724286052 100644 --- a/doc/Translations.md +++ b/doc/Translations.md @@ -32,13 +32,13 @@ The location of the translated files in the source tree is /view/LNG-CODE/ where LNG-CODE is the language code used, e.g. de for German or fr for French. For the email templates (the *.tpl files) just place them into the directory -and you are done. The translated strings come as a "message.po" file from +and you are done. The translated strings come as a "messages.po" file from transifex which needs to be translated into the PHP file Red uses. To do so, place the file in the directory mentioned above and use the "po2php" utility from the util directory of your Red installation. Assuming you want to convert the German localization which is placed in -view/de/message.po you would do the following. +view/de/messages.po you would do the following. 1. Navigate at the command prompt to the base directory of your Red installation @@ -46,7 +46,7 @@ view/de/message.po you would do the following. 2. Execute the po2php script, which will place the translation in the strings.php file that is used by Red. - $> php util/po2php.php view/de/message.po + $> php util/po2php.php view/de/messages.po The output of the script will be placed at view/de/strings.php where froemdoca os expecting it, so you can test your translation mmediately. |