emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ox: add Simplified Chinese translations for `org-export-dictionary'
@ 2013-07-02  6:17 feng shu
  2013-08-31 13:14 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: feng shu @ 2013-07-02  6:17 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]

[-- Attachment #2: 0001-ox-add-Simplified-Chinese-translations-for-org-expor.patch --]
[-- Type: application/octet-stream, Size: 3807 bytes --]

From 483653ea0e1eba605861b6be40e1540d55d024eb Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@gmail.com>
Date: Tue, 2 Jul 2013 13:44:56 +0800
Subject: [PATCH] ox: add Simplified Chinese translations for
 `org-export-dictionary'

* lisp/ox.el: (org-export-dictionary): Add Simplified Chinese translations for
`org-export-dictionary'

TINYCHANGE
---
 lisp/ox.el |   31 +++++++++++++++++++++----------
 1 个文件被修改,插入 21 行(+),删除 10 行(-)

diff --git a/lisp/ox.el b/lisp/ox.el
index 08fbddd..d472893 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5264,16 +5264,19 @@ them."
     ("Equation"
      ("de" :default "Gleichung")
      ("es" :html "Ecuaci&oacute;n" :default "Ecuación")
-     ("fr" :ascii "Equation" :default "Équation"))
+     ("fr" :ascii "Equation" :default "Équation")
+     ("zh-CN" :html "&#26041;&#31243;" :utf-8 "方程"))
     ("Figure"
      ("de" :default "Abbildung")
      ("es" :default "Figura")
-     ("ja" :html "&#22259;" :utf-8 "図"))
+     ("ja" :html "&#22259;" :utf-8 "図")
+     ("zh-CN" :html "&#22270;" :utf-8 "图"))
     ("Figure %d:"
      ("de" :default "Abbildung %d:")
      ("es" :default "Figura %d:")
      ("fr" :default "Figure %d :" :html "Figure&nbsp;%d&nbsp;:")
-     ("ja" :html "&#22259;%d:" :utf-8 "図%d:"))
+     ("ja" :html "&#22259;%d: " :utf-8 "図%d: ")
+     ("zh-CN" :html "&#22270;%d&nbsp;" :utf-8 "图%d  "))
     ("Footnotes"
      ("ca" :html "Peus de p&agrave;gina")
      ("cs" :default "Pozn\xe1mky pod carou")
@@ -5301,29 +5304,35 @@ them."
     ("List of Listings"
      ("de" :default "Programmauflistungsverzeichnis")
      ("es" :default "Indice de Listados de programas")
-     ("fr" :default "Liste des programmes"))
+     ("fr" :default "Liste des programmes")
+     ("zh-CN" :html "&#21015;&#34920;&#30446;&#24405;" :utf-8 "列表目录"))
     ("List of Tables"
      ("de" :default "Tabellenverzeichnis")
      ("es" :default "Indice de tablas")
-     ("fr" :default "Liste des tableaux"))
+     ("fr" :default "Liste des tableaux")
+     ("zh-CN" :html "&#34920;&#30446;&#24405;" :utf-8 "表目录"))
     ("Listing %d:"
      ("de" :default "Programmlisting %d")
      ("es" :default "Listado de programa %d")
-     ("fr" :default "Programme %d :" :html "Programme&nbsp;%d&nbsp;:"))
+     ("fr" :default "Programme %d :" :html "Programme&nbsp;%d&nbsp;:")
+     ("zh-CN" :html "&#21015;&#34920;%d&nbsp;" :utf-8 "列表%d  "))
     ("See section %s"
      ("de" :default "siehe Abschnitt %s")
      ("es" :default "vea seccion %s")
-     ("fr" :default "cf. section %s"))
+     ("fr" :default "cf. section %s")
+     ("zh-CN" :html "&#21442;&#35265;&#31532;%d&#33410;" :utf-8 "参见第%s节"))
     ("Table"
      ("de" :default "Tabelle")
      ("es" :default "Tabla")
      ("fr" :default "Tableau")
-     ("ja" :html "&#34920;" :utf-8 "表"))
+     ("ja" :html "&#34920;" :utf-8 "表")
+     ("zh-CN" :html "&#34920;" :utf-8 "表"))
     ("Table %d:"
      ("de" :default "Tabelle %d")
      ("es" :default "Tabla %d")
      ("fr" :default "Tableau %d :")
-     ("ja" :html "&#34920;%d:" :utf-8 "表%d:"))
+     ("ja" :html "&#34920;%d:" :utf-8 "表%d:")
+     ("zh-CN" :html "&#34920;%d&nbsp;" :utf-8 "表%d  "))
     ("Table of Contents"
      ("ca" :html "&Iacute;ndex")
      ("cs" :default "Obsah")
@@ -5351,7 +5360,9 @@ them."
     ("Unknown reference"
      ("de" :default "Unbekannter Verweis")
      ("es" :default "referencia desconocida")
-     ("fr" :ascii "Destination inconnue" :default "Référence inconnue")))
+     ("fr" :ascii "Destination inconnue" :default "Référence inconnue")
+     ("zh-CN" :html "&#26410;&#30693;&#24341;&#29992;" :utf-8 "未知引用")
+))
   "Dictionary for export engine.
 
 Alist whose CAR is the string to translate and CDR is an alist
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ox: add Simplified Chinese translations for `org-export-dictionary'
  2013-07-02  6:17 [PATCH] ox: add Simplified Chinese translations for `org-export-dictionary' feng shu
@ 2013-08-31 13:14 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2013-08-31 13:14 UTC (permalink / raw)
  To: feng shu; +Cc: emacs-orgmode

Hi,

It seems that this has been applied.

- Carsten

On 2.7.2013, at 08:17, feng shu <tumashu@gmail.com> wrote:

> 
> <0001-ox-add-Simplified-Chinese-translations-for-org-expor.patch>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-31 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02  6:17 [PATCH] ox: add Simplified Chinese translations for `org-export-dictionary' feng shu
2013-08-31 13:14 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).