ox: Convert Japanese translation from utf-8 to default

* lisp/ox.el (org-export-dictionary): Convert all Japanese translation
  from utf-8 to default.

There shouldn't be much need for exporters and users to worry about
the coding system of the final output.  If one wants to export a
"Japanese" document, he should already have the document with Japanese
capable coding system. In that case, Emacs should be able to handle
the coding system conversion form the translation table to the
designated file coding system.

There are two cases which I can think don't work:

  - all words in the document are written in romaji, and one wants
    romaji translations

  - the documents are writ en in a language which does not support
    Japanese character set, ie English or French, and one wants to use
    Japanese for non-content strings, ie TOC.

These cases are too rare that we can ignore for now.
This commit is contained in:
Yasushi SHOJI 2014-01-02 17:15:17 +09:00 committed by Nicolas Goaziou
parent 581db4e0a5
commit 92b37eec82
1 changed files with 10 additions and 10 deletions

View File

@ -5331,7 +5331,7 @@ them."
("hu" :default "Szerzõ") ("hu" :default "Szerzõ")
("is" :html "Höfundur") ("is" :html "Höfundur")
("it" :default "Autore") ("it" :default "Autore")
("ja" :html "著者" :utf-8 "著者") ("ja" :default "著者" :html "著者")
("nl" :default "Auteur") ("nl" :default "Auteur")
("no" :default "Forfatter") ("no" :default "Forfatter")
("nb" :default "Forfatter") ("nb" :default "Forfatter")
@ -5347,7 +5347,7 @@ them."
("es" :default "Continúa de la página anterior") ("es" :default "Continúa de la página anterior")
("fr" :default "Suite de la page précédente") ("fr" :default "Suite de la page précédente")
("it" :default "Continua da pagina precedente") ("it" :default "Continua da pagina precedente")
("ja" :utf-8 "前ページからの続き") ("ja" :default "前ページからの続き")
("nl" :default "Vervolg van vorige pagina") ("nl" :default "Vervolg van vorige pagina")
("pt" :default "Continuação da página anterior") ("pt" :default "Continuação da página anterior")
("ru" :html "(Продолжение)" ("ru" :html "(Продолжение)"
@ -5357,7 +5357,7 @@ them."
("es" :default "Continúa en la siguiente página") ("es" :default "Continúa en la siguiente página")
("fr" :default "Suite page suivante") ("fr" :default "Suite page suivante")
("it" :default "Continua alla pagina successiva") ("it" :default "Continua alla pagina successiva")
("ja" :utf-8 "次ページに続く") ("ja" :default "次ページに続く")
("nl" :default "Vervolg op volgende pagina") ("nl" :default "Vervolg op volgende pagina")
("pt" :default "Continua na página seguinte") ("pt" :default "Continua na página seguinte")
("ru" :html "(Продолжение следует)" ("ru" :html "(Продолжение следует)"
@ -5374,7 +5374,7 @@ them."
("hu" :html "Dátum") ("hu" :html "Dátum")
("is" :default "Dagsetning") ("is" :default "Dagsetning")
("it" :default "Data") ("it" :default "Data")
("ja" :html "日付" :utf-8 "日付") ("ja" :default "日付" :html "日付")
("nl" :default "Datum") ("nl" :default "Datum")
("no" :default "Dato") ("no" :default "Dato")
("nb" :default "Dato") ("nb" :default "Dato")
@ -5403,7 +5403,7 @@ them."
("de" :default "Abbildung") ("de" :default "Abbildung")
("es" :default "Figura") ("es" :default "Figura")
("et" :default "Joonis") ("et" :default "Joonis")
("ja" :html "図" :utf-8 "") ("ja" :default "" :html "図")
("no" :default "Illustrasjon") ("no" :default "Illustrasjon")
("nb" :default "Illustrasjon") ("nb" :default "Illustrasjon")
("nn" :default "Illustrasjon") ("nn" :default "Illustrasjon")
@ -5416,7 +5416,7 @@ them."
("es" :default "Figura %d:") ("es" :default "Figura %d:")
("et" :default "Joonis %d:") ("et" :default "Joonis %d:")
("fr" :default "Figure %d :" :html "Figure %d :") ("fr" :default "Figure %d :" :html "Figure %d :")
("ja" :html "図%d: " :utf-8 "%d: ") ("ja" :default "図%d: " :html "図%d: ")
("no" :default "Illustrasjon %d") ("no" :default "Illustrasjon %d")
("nb" :default "Illustrasjon %d") ("nb" :default "Illustrasjon %d")
("nn" :default "Illustrasjon %d") ("nn" :default "Illustrasjon %d")
@ -5436,7 +5436,7 @@ them."
("hu" :html "Lábjegyzet") ("hu" :html "Lábjegyzet")
("is" :html "Aftanmálsgreinar") ("is" :html "Aftanmálsgreinar")
("it" :html "Note a piè di pagina") ("it" :html "Note a piè di pagina")
("ja" :html "脚注" :utf-8 "脚注") ("ja" :default "脚注" :html "脚注")
("nl" :default "Voetnoten") ("nl" :default "Voetnoten")
("no" :default "Fotnoter") ("no" :default "Fotnoter")
("nb" :default "Fotnoter") ("nb" :default "Fotnoter")
@ -5497,7 +5497,7 @@ them."
("es" :default "Tabla") ("es" :default "Tabla")
("et" :default "Tabel") ("et" :default "Tabel")
("fr" :default "Tableau") ("fr" :default "Tableau")
("ja" :html "表" :utf-8 "") ("ja" :default "" :html "表")
("ru" :html "Таблица" :utf-8 "Таблица") ("ru" :html "Таблица" :utf-8 "Таблица")
("zh-CN" :html "表" :utf-8 "")) ("zh-CN" :html "表" :utf-8 ""))
("Table %d:" ("Table %d:"
@ -5506,7 +5506,7 @@ them."
("es" :default "Tabla %d") ("es" :default "Tabla %d")
("et" :default "Tabel %d") ("et" :default "Tabel %d")
("fr" :default "Tableau %d :") ("fr" :default "Tableau %d :")
("ja" :html "表%d:" :utf-8 "%d:") ("ja" :default "表%d:" :html "表%d:")
("no" :default "Tabell %d") ("no" :default "Tabell %d")
("nb" :default "Tabell %d") ("nb" :default "Tabell %d")
("nn" :default "Tabell %d") ("nn" :default "Tabell %d")
@ -5527,7 +5527,7 @@ them."
("hu" :html "Tartalomjegyzék") ("hu" :html "Tartalomjegyzék")
("is" :default "Efnisyfirlit") ("is" :default "Efnisyfirlit")
("it" :default "Indice") ("it" :default "Indice")
("ja" :html "目次" :utf-8 "目次") ("ja" :default "目次" :html "目次")
("nl" :default "Inhoudsopgave") ("nl" :default "Inhoudsopgave")
("no" :default "Innhold") ("no" :default "Innhold")
("nb" :default "Innhold") ("nb" :default "Innhold")