[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: i18n example: re-add
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: i18n example: re-add useful comments as suggested by Karlson2k |
Date: |
Wed, 01 Mar 2017 17:14:44 +0100 |
This is an automated email from the git hooks/post-receive script.
silvioprog pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new dd3da902 i18n example: re-add useful comments as suggested by Karlson2k
dd3da902 is described below
commit dd3da90283e38b1202a50d79e82181aa3eb88447
Author: silvioprog <address@hidden>
AuthorDate: Wed Mar 1 13:14:27 2017 -0300
i18n example: re-add useful comments as suggested by Karlson2k
---
src/examples/msgs_i18n.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/examples/msgs_i18n.c b/src/examples/msgs_i18n.c
index 398a86da..220729af 100755
--- a/src/examples/msgs_i18n.c
+++ b/src/examples/msgs_i18n.c
@@ -25,6 +25,13 @@
/*
* suposing you are in Brazil:
*
+ * # generate the PO file
+ * $ msginit --input=po/libmicrohttpd.pot --locale=pt_BR
--output=libmicrohttpd.po
+ * # open the generated .po in any program like Poedit and translate the MHD
messages; once done, let's go to the test:
+ * mkdir -p src/examples/locale/pt_BR/LC_MESSAGES
+ * mv libmicrohttpd.mo libmicrohttpd.po src/examples/locale/pt_BR/LC_MESSAGES
+ * cd src/examples/
+ * gcc -o msgs_i18n msgs_i18n.c -lmicrohttpd
* export LANGUAGE=pt_BR
* ./msgs_i18n
* # it may print: Opção inválida 4196490! (Você terminou a lista com
MHD_OPTION_END?)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: i18n example: re-add useful comments as suggested by Karlson2k,
gnunet <=