[Kimchi-devel] [PATCH] i18n support: Update help Makefile with new languages.

Aline Manera alinefm at linux.vnet.ibm.com
Wed Sep 10 02:59:39 UTC 2014


On 09/09/2014 11:47 PM, Aline Manera wrote:
>
> On 09/09/2014 08:32 PM, Paulo Vital wrote:
>> This patch adds the new languages list in ui/pages/help/Makefile.am file
>> to be recursively compiled/built/archived.
>>
>> The new languages are: German (de_DE), Spanish (es_ES), Franch (fr_FR),
>> Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Russian (ru_RU) and
>> the Traditional Chinese (zh_TW).
>>
>> Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
>> ---
>>   ui/pages/help/Makefile.am | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/ui/pages/help/Makefile.am b/ui/pages/help/Makefile.am
>> index fa9786b..ca6b3f7 100644
>> --- a/ui/pages/help/Makefile.am
>> +++ b/ui/pages/help/Makefile.am
>> @@ -14,7 +14,7 @@
>>   # License along with this library; if not, write to the Free Software
>>   # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
>> 02110-1301 USA
>>
>> -SUBDIRS = en_US pt_BR zh_CN
>> +SUBDIRS = en_US pt_BR zh_CN de_DE es_ES fr_FR it_IT ja_JP ko_KR 
>> ru_RU zh_TW

You can also use:

SUBDIRS = $(dir $(wildcard */))

to avoid changing this file when other languages are added

>
> You also need to create those new directories and their Makefile.am 
> otherwise the build will fail:
>
>  cd ../../.. && /bin/sh /home/alinefm/kimchi/build-aux/missing 
> automake-1.13 --gnu ui/pages/help/Makefile
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/de_DE does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/es_ES does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/fr_FR does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/it_IT does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/ja_JP does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/ko_KR does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/ru_RU does not exist
> ui/pages/help/Makefile.am:17: error: required directory 
> ui/pages/help/zh_TW does not exist
> make[3]: *** [Makefile.in] Error 1
> make[3]: Leaving directory `/home/alinefm/kimchi/ui/pages/help'
> make[2]: *** [clean-recursive] Error 1
> make[2]: Leaving directory `/home/alinefm/kimchi/ui/pages'
> make[1]: *** [clean-recursive] Error 1
> make[1]: Leaving directory `/home/alinefm/kimchi/ui'
> make: *** [clean-recursive] Error 1
>
>
>>
>>   DITA_HTML_FILES = $(patsubst %.dita,%.html,$(wildcard */*.dita))
>>   HTML_FILES = $(if $(DITA_HTML_FILES), $(DITA_HTML_FILES), 
>> $(wildcard */*.html))
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>




More information about the Kimchi-devel mailing list