Re: [O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp

2012-03-19 Thread Bastien
tumashu tuma...@gmail.com writes:

 It should be:
 #+begin_example
 html xmlns=http://www.w3.org/1999/xhtml; lang=zh-CN xml:lang=zh-CN
 #+end_example
 [[http://www.w3.org/International/articles/bcp47/]] 

Fixed in maint (included in 7.8.06) and master.

Thanks!

-- 
 Bastien



Re: [O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp

2012-03-18 Thread David Maus
Accepted, thanks!

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de

pgpYIH5MSc3oV.pgp
Description: OpenPGP Digital Signature


Re: [O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp

2012-03-18 Thread tumashu
Today, I test Simplified Chinese(UTF-8) translation for org-exp.el again,
I find that zh_CN  is  used by *xml:lang* and *lang*
#+begin_example
html xmlns=http://www.w3.org/1999/xhtml; lang=zh_CN xml:lang=zh_CN
#+end_example


It should be:
#+begin_example
html xmlns=http://www.w3.org/1999/xhtml; lang=zh-CN xml:lang=zh-CN
#+end_example
[[http://www.w3.org/International/articles/bcp47/]] 


Changes in master
Modified   lisp/org-exp.el
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index a2f0cfc..3f52be0 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -205,8 +205,8 @@ This option can also be set with the +OPTIONS line, e.g. 
\-:nil\.
 (ru #1040;#1074;#1090;#1086;#1088;  
#1044;#1072;#1090;#1072;  
#1057;#1086;#1076;#1077;#1088;#1078;#1072;#1085;#1080;#1077; 
#1057;#1085;#1086;#1089;#1082;#1080;)
 (sv Fouml;rfattare Datum Inneharing;ll Fotnoter)
 ;; Use numeric character entities for proper rendering of non-UTF8 
documents
-;; (zh_CN 作者 日期 目录 脚注)
-(zh_CN #20316;#32773; #26085;#26399; #30446;#24405; 
#33050;#27880;))
+;; (zh-CN 作者 日期 目录 脚注)
+(zh-CN #20316;#32773; #26085;#26399; #30446;#24405; 
#33050;#27880;))
   Terms used in export text, translated to different languages.
 Use the variable `org-export-default-language' to set the language,
 or use the +OPTION lines for a per-file setting.




[O] [PATCH] Adding Simplified Chinese(UTF-8) translation for org-exp

2012-03-17 Thread tumashu

---
 lisp/org-exp.el |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index a1102a8..229d83c 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -200,7 +200,8 @@ This option can also be set with the +OPTIONS line, e.g. 
\-:nil\.
 (nn Forfattar  Dato  Innhald Fotnotar)  ;; nn = Norsk (nynorsk)
 (pl Autor  Data Spis tre#x015b;ci  Przypis)
 (ru Автор  Дата  Содержание Сноски)
-(sv Fouml;rfattare Datum Inneharing;ll Fotnoter))
+(sv Fouml;rfattare Datum Inneharing;ll Fotnoter)
+(zh_CN 作者 日期 目录 脚注))
   Terms used in export text, translated to different languages.
 Use the variable `org-export-default-language' to set the language,
 or use the +OPTION lines for a per-file setting.
-- 
1.7.9.1