[logaling-commit] logaling/logaling-server [master] Fix label text

Back to archive index

SHIMADA Koji null+****@clear*****
Wed Sep 26 22:15:31 JST 2012


SHIMADA Koji	2012-09-26 22:15:31 +0900 (Wed, 26 Sep 2012)

  New Revision: dba6b1f001bb16dbe0fb9068ef9748bea4297126
  https://github.com/logaling/logaling-server/commit/dba6b1f001bb16dbe0fb9068ef9748bea4297126

  Merged ef3396d: Merge pull request #17 from logaling/apply-design

  Log:
    Fix label text

  Modified files:
    app/views/terms/_form.html.haml
    app/views/terms/edit.html.haml
    app/views/user_glossaries/_form.html.haml
    config/locales/translation_ja.yml

  Modified: app/views/terms/_form.html.haml (+3 -3)
===================================================================
--- app/views/terms/_form.html.haml    2012-09-26 21:35:29 +0900 (b6f06b3)
+++ app/views/terms/_form.html.haml    2012-09-26 22:15:31 +0900 (f0927b5)
@@ -7,15 +7,15 @@
           %li= msg
 
   .control-group
-    = f.label :source_term, "Source term:", :class => 'control-label required'
+    = f.label :source_term, :class => 'control-label required'
     .controls
       = f.text_field :source_term
   .control-group
-    = f.label :target_term, "Target term:", :class => 'control-label required'
+    = f.label :target_term, :class => 'control-label required'
     .controls
       = f.text_field :target_term
   .control-group
-    = f.label :note, "Note:", :class => 'control-label'
+    = f.label :note, :class => 'control-label'
     .controls
       = f.text_field :note
 

  Modified: app/views/terms/edit.html.haml (+3 -3)
===================================================================
--- app/views/terms/edit.html.haml    2012-09-26 21:35:29 +0900 (7246fb7)
+++ app/views/terms/edit.html.haml    2012-09-26 22:15:31 +0900 (46ed91d)
@@ -15,15 +15,15 @@
               %li= msg
 
       .control-group
-        = f.label :source_term, "Source term:", :class => 'control-label required'
+        = f.label :source_term, :class => 'control-label required'
         .controls
           = f.text_field :source_term
       .control-group
-        = f.label :target_term, "Target term:", :class => 'control-label required'
+        = f.label :target_term, :class => 'control-label required'
         .controls
           = f.text_field :target_term
       .control-group
-        = f.label :note, "Note:", :class => 'control-label'
+        = f.label :note, :class => 'control-label'
         .controls
           = f.text_field :note
 

  Modified: app/views/user_glossaries/_form.html.haml (+3 -3)
===================================================================
--- app/views/user_glossaries/_form.html.haml    2012-09-26 21:35:29 +0900 (9aa21f8)
+++ app/views/user_glossaries/_form.html.haml    2012-09-26 22:15:31 +0900 (411cd82)
@@ -7,15 +7,15 @@
           %li= msg
 
   .control-group
-    = f.label :name, "Glossary name:", :class => 'control-label required'
+    = f.label :name, :class => 'control-label required'
     .controls
       = f.text_field :name
   .control-group
-    = f.label :source_language, "Source language:", :class => 'control-label required'
+    = f.label :source_language, :class => 'control-label required'
     .controls
       = f.text_field :source_language
   .control-group
-    = f.label :target_language, "Target language:", :class => 'control-label required'
+    = f.label :target_language, :class => 'control-label required'
     .controls
       = f.text_field :target_language
 

  Modified: config/locales/translation_ja.yml (+15 -1)
===================================================================
--- config/locales/translation_ja.yml    2012-09-26 21:35:29 +0900 (b2c53d7)
+++ config/locales/translation_ja.yml    2012-09-26 22:15:31 +0900 (f44544f)
@@ -1,9 +1,23 @@
 ja:
   activerecord:
     models:
-      github_project: githubプロジェクト
+      github_project: Githubプロジェクト
+      user_glossary: 用語集
 
     attributes:
       github_project:
         owner: ユーザ
         name: プロジェクト
+      user_glossary:
+        name: 名前
+        source_language: 元言語
+        target_language: 翻訳言語
+
+  activemodel:
+    attributes:
+      term:
+        source_term: 原語
+        target_term: 訳語
+        note: 備考
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the logaling-commit mailing list
Back to archive index