* [PATCH] ox.el: Slovenian translations for exporting
@ 2017-02-03 14:00 Martin Vuk
2017-02-03 21:19 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Martin Vuk @ 2017-02-03 14:00 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
I would like to propose Slovenian translations for exporting orgmode
documents. Patch is attached.
Best Regards,
Martin Vuk
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ox.el-Slovenian-translations-for-exporting.patch --]
[-- Type: text/x-patch; name="0001-ox.el-Slovenian-translations-for-exporting.patch", Size: 8917 bytes --]
From 0b22387d519201174a562fe07832354619dea6e1 Mon Sep 17 00:00:00 2001
From: Martin Vuk <martin.vuk@fri.uni-lj.si>
Date: Fri, 3 Feb 2017 12:05:50 +0100
Subject: [PATCH] ox.el: Slovenian translations for exporting
To: emacs-orgmode@gnu.org
* lisp/ox.el (org-export-dictionary): Slovenian translations.
* lisp/ox.el (org-export-smart-quotes-alist): Slovenian quotes and
apostrophes for exporting documents.
TINYCHANGE
---
lisp/ox.el | 45 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/lisp/ox.el b/lisp/ox.el
index 93f4437..3aeb56b 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5399,6 +5399,17 @@ Return a list of src-block elements with a caption."
(secondary-closing
:utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
(apostrophe :utf-8 "’" :html: "'"))
+ ("sl"
+ ;; based on https://sl.wikipedia.org/wiki/Narekovaj
+ (primary-opening :utf-8 "«" :html "«" :latex "{}<<"
+ :texinfo "@guillemetleft{}")
+ (primary-closing :utf-8 "»" :html "»" :latex ">>{}"
+ :texinfo "@guillemetright{}")
+ (secondary-opening
+ :utf-8 "„" :html "„" :latex "\\glqq{}" :texinfo "@quotedblbase{}")
+ (secondary-closing
+ :utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
+ (apostrophe :utf-8 "’" :html "’"))
("sv"
;; based on https://sv.wikipedia.org/wiki/Citattecken
(primary-opening :utf-8 "”" :html "”" :latex "’’" :texinfo "’’")
@@ -5637,6 +5648,7 @@ them."
("pl" :default "Autor")
("pt_BR" :default "Autor")
("ru" :html "Автор" :utf-8 "Автор")
+ ("sl" :default "Avtor")
("sv" :html "Författare")
("uk" :html "Автор" :utf-8 "Автор")
("zh-CN" :html "作者" :utf-8 "作者")
@@ -5651,7 +5663,8 @@ them."
("nl" :default "Vervolg van vorige pagina")
("pt" :default "Continuação da página anterior")
("ru" :html "(Продолжение)"
- :utf-8 "(Продолжение)"))
+ :utf-8 "(Продолжение)")
+ ("sl" :default "Nadaljevanje s prejšnje strani"))
("Continued on next page"
("ar" :default "التتمة في الصفحة التالية")
("de" :default "Fortsetzung nächste Seite")
@@ -5662,7 +5675,10 @@ them."
("nl" :default "Vervolg op volgende pagina")
("pt" :default "Continua na página seguinte")
("ru" :html "(Продолжение следует)"
- :utf-8 "(Продолжение следует)"))
+ :utf-8 "(Продолжение следует)")
+ ("sl" :default "Nadaljevanje na naslednji strani"))
+ ("Created"
+ ("sl" :default "Ustvarjeno"))
("Date"
("ar" :default "بتاريخ")
("ca" :default "Data")
@@ -5684,6 +5700,7 @@ them."
("pl" :default "Data")
("pt_BR" :default "Data")
("ru" :html "Дата" :utf-8 "Дата")
+ ("sl" :default "Datum")
("sv" :default "Datum")
("uk" :html "Дата" :utf-8 "Дата")
("zh-CN" :html "日期" :utf-8 "日期")
@@ -5703,6 +5720,7 @@ them."
("pt_BR" :html "Equação" :default "Equação" :ascii "Equacao")
("ru" :html "Уравнение"
:utf-8 "Уравнение")
+ ("sl" :default "Enačba")
("sv" :default "Ekvation")
("zh-CN" :html "方程" :utf-8 "方程"))
("Figure"
@@ -5734,6 +5752,7 @@ them."
("nn" :default "Illustrasjon %d")
("pt_BR" :default "Figura %d:")
("ru" :html "Рис. %d.:" :utf-8 "Рис. %d.:")
+ ("sl" :default "Slika %d")
("sv" :default "Illustration %d")
("zh-CN" :html "图%d " :utf-8 "图%d "))
("Footnotes"
@@ -5758,6 +5777,7 @@ them."
("pl" :default "Przypis")
("pt_BR" :html "Notas de Rodapé" :default "Notas de Rodapé" :ascii "Notas de Rodape")
("ru" :html "Сноски" :utf-8 "Сноски")
+ ("sl" :default "Opombe")
("sv" :default "Fotnoter")
("uk" :html "Примітки"
:utf-8 "Примітки")
@@ -5775,6 +5795,7 @@ them."
("nb" :default "Dataprogrammer")
("ru" :html "Список распечаток"
:utf-8 "Список распечаток")
+ ("sl" :default "Seznam programskih izpisov")
("zh-CN" :html "代码目录" :utf-8 "代码目录"))
("List of Tables"
("ar" :default "قائمة بالجداول")
@@ -5791,6 +5812,7 @@ them."
("pt_BR" :default "Índice de Tabelas" :ascii "Indice de Tabelas")
("ru" :html "Список таблиц"
:utf-8 "Список таблиц")
+ ("sl" :default "Seznam tabel")
("sv" :default "Tabeller")
("zh-CN" :html "表格目录" :utf-8 "表格目录"))
("Listing"
@@ -5806,6 +5828,7 @@ them."
("pt_BR" :default "Listagem")
("ru" :html "Распечатка"
:utf-8 "Распечатка")
+ ("sl" :default "Izpis programa")
("zh-CN" :html "代码" :utf-8 "代码"))
("Listing %d:"
("ar" :default "برنامج %d:")
@@ -5820,18 +5843,23 @@ them."
("pt_BR" :default "Listagem %d")
("ru" :html "Распечатка %d.:"
:utf-8 "Распечатка %d.:")
+ ("sl" :default "Izpis programa %d")
("zh-CN" :html "代码%d " :utf-8 "代码%d "))
("References"
("ar" :default "المراجع")
("fr" :ascii "References" :default "Références")
("de" :default "Quellen")
- ("es" :default "Referencias"))
+ ("es" :default "Referencias")
+ ("sl" :default "Reference")
+ )
("See figure %s"
("fr" :default "cf. figure %s"
- :html "cf. figure %s" :latex "cf.~figure~%s"))
+ :html "cf. figure %s" :latex "cf.~figure~%s")
+ ("sl" :default "Glej sliko %s"))
("See listing %s"
("fr" :default "cf. programme %s"
- :html "cf. programme %s" :latex "cf.~programme~%s"))
+ :html "cf. programme %s" :latex "cf.~programme~%s")
+ ("sl" :default "Glej izpis programa %s"))
("See section %s"
("ar" :default "انظر قسم %s")
("da" :default "jævnfør afsnit %s")
@@ -5844,10 +5872,12 @@ them."
:ascii "Veja a secao %s")
("ru" :html "См. раздел %s"
:utf-8 "См. раздел %s")
+ ("sl" :default "Glej poglavje %d")
("zh-CN" :html "参见第%s节" :utf-8 "参见第%s节"))
("See table %s"
("fr" :default "cf. tableau %s"
- :html "cf. tableau %s" :latex "cf.~tableau~%s"))
+ :html "cf. tableau %s" :latex "cf.~tableau~%s")
+ ("sl" :default "Glej tabelo %s"))
("Table"
("ar" :default "جدول")
("de" :default "Tabelle")
@@ -5875,6 +5905,7 @@ them."
("pt_BR" :default "Tabela %d")
("ru" :html "Таблица %d.:"
:utf-8 "Таблица %d.:")
+ ("sl" :default "Tabela %d")
("sv" :default "Tabell %d")
("zh-CN" :html "表%d " :utf-8 "表%d "))
("Table of Contents"
@@ -5900,6 +5931,7 @@ them."
("pt_BR" :html "Índice" :utf8 "Índice" :ascii "Indice")
("ru" :html "Содержание"
:utf-8 "Содержание")
+ ("sl" :default "Kazalo")
("sv" :html "Innehåll")
("uk" :html "Зміст" :utf-8 "Зміст")
("zh-CN" :html "目录" :utf-8 "目录")
@@ -5916,6 +5948,7 @@ them."
:ascii "Referencia desconhecida")
("ru" :html "Неизвестная ссылка"
:utf-8 "Неизвестная ссылка")
+ ("sl" :default "Neznana referenca")
("zh-CN" :html "未知引用" :utf-8 "未知引用")))
"Dictionary for export engine.
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ox.el: Slovenian translations for exporting
2017-02-03 14:00 [PATCH] ox.el: Slovenian translations for exporting Martin Vuk
@ 2017-02-03 21:19 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-02-03 21:19 UTC (permalink / raw)
To: Martin Vuk; +Cc: emacs-orgmode
Hello,
Martin Vuk <martin.vuk@fri.uni-lj.si> writes:
> I would like to propose Slovenian translations for exporting orgmode
> documents. Patch is attached.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-03 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 14:00 [PATCH] ox.el: Slovenian translations for exporting Martin Vuk
2017-02-03 21:19 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.