From b5f9c8822dce55b33a4a6ab929f5b86b055a0284 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Mon, 24 May 2010 17:49:21 -0300 Subject: translate method doesn't support arrays anymore and is optimized to be used with strings or symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- actionpack/test/fixtures/test/array_translation.erb | 1 - actionpack/test/fixtures/test/scoped_array_translation.erb | 1 - actionpack/test/fixtures/test/scoped_translation.erb | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 actionpack/test/fixtures/test/array_translation.erb delete mode 100644 actionpack/test/fixtures/test/scoped_array_translation.erb create mode 100644 actionpack/test/fixtures/test/scoped_translation.erb (limited to 'actionpack/test/fixtures') diff --git a/actionpack/test/fixtures/test/array_translation.erb b/actionpack/test/fixtures/test/array_translation.erb deleted file mode 100644 index def3a1a0c1..0000000000 --- a/actionpack/test/fixtures/test/array_translation.erb +++ /dev/null @@ -1 +0,0 @@ -<%= t(['foo', 'bar', 'html']) %> \ No newline at end of file diff --git a/actionpack/test/fixtures/test/scoped_array_translation.erb b/actionpack/test/fixtures/test/scoped_array_translation.erb deleted file mode 100644 index 0a0c79f717..0000000000 --- a/actionpack/test/fixtures/test/scoped_array_translation.erb +++ /dev/null @@ -1 +0,0 @@ -<%= t(['.foo', '.bar']) %> \ No newline at end of file diff --git a/actionpack/test/fixtures/test/scoped_translation.erb b/actionpack/test/fixtures/test/scoped_translation.erb new file mode 100644 index 0000000000..30baa61c77 --- /dev/null +++ b/actionpack/test/fixtures/test/scoped_translation.erb @@ -0,0 +1 @@ +<%= t('.foo.bar') %> \ No newline at end of file -- cgit v1.2.3