summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorkbinani <kbinani.bt@gmail.com>2014-12-01 11:06:53 (GMT)
committerkbinani <kbinani.bt@gmail.com>2014-12-01 11:28:08 (GMT)
commita4cf65dea1371721f07c63c2bb5f9e5085b2618a (patch)
tree94f012b608a45fd6869f3e11bc076c7d91295bb9 /testing
parent3b10b5b61a190018a46a05793d6c179e5fe3ea3b (diff)
downloadDoxygen-a4cf65dea1371721f07c63c2bb5f9e5085b2618a.zip
Doxygen-a4cf65dea1371721f07c63c2bb5f9e5085b2618a.tar.gz
Doxygen-a4cf65dea1371721f07c63c2bb5f9e5085b2618a.tar.bz2
Fix bug: language switch command "\~" failed to detect language id which contains '-'
Support language switch for language ids, 'Japanese-en', 'Korean-en', 'Serbian-Cyrillic', and similer langauge ids.
Diffstat (limited to 'testing')
-rw-r--r--testing/065/indexpage.xml10
-rw-r--r--testing/065_tilde.dox12
2 files changed, 22 insertions, 0 deletions
diff --git a/testing/065/indexpage.xml b/testing/065/indexpage.xml
new file mode 100644
index 0000000..e462e55
--- /dev/null
+++ b/testing/065/indexpage.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="">
+ <compounddef id="indexpage" kind="page">
+ <compoundname>index</compoundname>
+ <title>My Project</title>
+ <detaileddescription>
+ <para>これは日本語(en)です. Output for all languages. </para>
+ </detaileddescription>
+ </compounddef>
+</doxygen>
diff --git a/testing/065_tilde.dox b/testing/065_tilde.dox
new file mode 100644
index 0000000..0b4986f
--- /dev/null
+++ b/testing/065_tilde.dox
@@ -0,0 +1,12 @@
+// objective: test \~ command with non default OUTPUT_LANGUAGE which contains '-' letter
+// check: indexpage.xml
+// config: OUTPUT_LANGUAGE = Japanese-en
+/**
+\mainpage
+\~english This is English.
+\~dutch Dit is Nederlands.
+\~japanese これは日本語です.
+\~japanese-en これは日本語(en)です.
+\~german Dies ist Deutsch.
+\~ Output for all languages.
+*/