summaryrefslogtreecommitdiffstats
path: root/test/fixtures/diffs
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-03-07 10:36:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-03-07 10:36:06 +0000
commitd3de07a17c1d0066ecdee2cffac068cf79ee0fe6 (patch)
tree3a91ddc1fcb31f9e1a5b9b8234b52fcd928bea9d /test/fixtures/diffs
parent72539451aab45ee2692376bf087d06396b4956ca (diff)
downloadredmine-d3de07a17c1d0066ecdee2cffac068cf79ee0fe6.tar.gz
redmine-d3de07a17c1d0066ecdee2cffac068cf79ee0fe6.zip
fix that diff outputs become ??? in some non ASCII words (#12641)
Contributed by Filou Centrinov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11549 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures/diffs')
-rw-r--r--test/fixtures/diffs/issue-12641-ja.diff25
-rw-r--r--test/fixtures/diffs/issue-12641-ru.diff19
2 files changed, 44 insertions, 0 deletions
diff --git a/test/fixtures/diffs/issue-12641-ja.diff b/test/fixtures/diffs/issue-12641-ja.diff
new file mode 100644
index 000000000..9f37cd724
--- /dev/null
+++ b/test/fixtures/diffs/issue-12641-ja.diff
@@ -0,0 +1,25 @@
+# HG changeset patch
+# User tmaruyama
+# Date 1362559296 0
+# Node ID ee54942e0289c30bea1b1973750b698b1ee7c466
+# Parent 738777832f379f6f099c25251593fc57bc17f586
+fix some Japanese "issue" translations (#13350)
+
+Contributed by Go MAEDA.
+
+diff --git a/config/locales/ja.yml b/config/locales/ja.yml
+--- a/config/locales/ja.yml
++++ b/config/locales/ja.yml
+@@ -904,9 +904,9 @@ ja:
+ text_journal_set_to: "%{label} を %{value} にセット"
+ text_journal_deleted: "%{label} を削除 (%{old})"
+ text_journal_added: "%{label} %{value} を追加"
+- text_tip_issue_begin_day: この日に開始するタスク
+- text_tip_issue_end_day: この日に終了するタスク
+- text_tip_issue_begin_end_day: この日のうちに開始して終了するタスク
++ text_tip_issue_begin_day: この日に開始するチケット
++ text_tip_issue_end_day: この日に終了するチケット
++ text_tip_issue_begin_end_day: この日に開始・終了するチケット
+ text_caracters_maximum: "最大%{count}文字です。"
+ text_caracters_minimum: "最低%{count}文字の長さが必要です"
+ text_length_between: "長さは%{min}から%{max}文字までです。"
diff --git a/test/fixtures/diffs/issue-12641-ru.diff b/test/fixtures/diffs/issue-12641-ru.diff
new file mode 100644
index 000000000..3b549e1fa
--- /dev/null
+++ b/test/fixtures/diffs/issue-12641-ru.diff
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User tmaruyama
+# Date 1355872765 0
+# Node ID 8a13ebed1779c2e85fa644ecdd0de81996c969c4
+# Parent 5c3c5f917ae92f278fe42c6978366996595b0796
+Russian "about_x_hours" translation changed by Mikhail Velkin (#12640)
+
+diff --git a/config/locales/ru.yml b/config/locales/ru.yml
+--- a/config/locales/ru.yml
++++ b/config/locales/ru.yml
+@@ -115,7 +115,7 @@ ru:
+ one: "около %{count} часа"
+ few: "около %{count} часов"
+ many: "около %{count} часов"
+- other: "около %{count} часа"
++ other: "около %{count} часов"
+ x_hours:
+ one: "1 час"
+ other: "%{count} часов"