Skip to content
This repository
Browse code

more quick fixes

  • Loading branch information...
commit 7b0265d0495925d7b199e35e0a1b016c82de5dd8 1 parent f60d2e3
Robert Sosinski authored April 01, 2012
3  app/views/root/layouts/namespace.html.erb
@@ -5,9 +5,8 @@
5 5
   <%= stylesheet_link_tag    "application", "root", :media => "all" %>
6 6
   <%= javascript_include_tag "application", "root" %>
7 7
   
  8
+  <%= tag 'meta', :name => 'locale', :content => I18n.locale %>
8 9
   <%= csrf_meta_tags %>
9  
-  
10  
-  <meta name="locale" content="<%= I18n.locale %>" />
11 10
 </head>
12 11
 
13 12
 <body>
2  app/views/root/lists/show.html.erb
@@ -39,7 +39,7 @@
39 39
       <a href="#" class="add-on btn" data-bind="click: $root.destroyTask"><i class="icon-remove"></i></a>
40 40
     
41 41
       <div class="control-group" data-bind="valid: name.isValid">
42  
-        <input class="name span11" placeholder="Enter a unique name!" data-bind="value: name, disable: done, event: { change: $root.updateTask }" />
  42
+        <input class="name span11" placeholder="<%= t '.task.placeholder' %>" data-bind="value: name, disable: done, event: { change: $root.updateTask }" />
43 43
       </div>
44 44
     </span>
45 45
   </div>
2  config/locales/root/en.yml
@@ -50,5 +50,7 @@ en:
50 50
         list:
51 51
           name: Your List
52 52
           is_complete: is complete
  53
+        task:
  54
+          placeholder: Enter a unique name!
53 55
         new_task:
54 56
           placeholder: What needs to be done?
2  config/locales/root/fr.yml
@@ -50,5 +50,7 @@ fr:
50 50
         list:
51 51
           name: Votre Liste
52 52
           is_complete: est terminée
  53
+        task:
  54
+          placeholder: Entrez un nom unique!
53 55
         new_task:
54 56
           placeholder: Qu'est-ce qui doit être fait?
2  config/locales/root/jp.yml
@@ -50,5 +50,7 @@ jp:
50 50
         list:
51 51
           name: あなたのリスト
52 52
           is_complete: が完了しました
  53
+        task:
  54
+          placeholder: 一意の名前を入力してください!
53 55
         new_task:
54 56
           placeholder: 何が行われる必要がある
2  lib/assets/javascripts/api.js
@@ -102,4 +102,4 @@ window.api = {
102 102
   delete_: function() {
103 103
     return this.request("DELETE", arguments);
104 104
   },
105  
-};
  105
+};

0 notes on commit 7b0265d

Please sign in to comment.
Something went wrong with that request. Please try again.