changeset 400:d647e79136d8

Add missing translations.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 03:58:22 +0900
parents 4bf12ecde0ee
children 6bb805283daf
files app/views/pastes/show.html.erb config/locales/en.yml
diffstat 2 files changed, 16 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Sun Sep 06 03:53:34 2015 +0900
+++ b/app/views/pastes/show.html.erb	Sun Sep 06 03:58:22 2015 +0900
@@ -37,7 +37,7 @@
 
 <div class="row">
   <%= form_for @paste, :method => :delete, :authenticity_token => false do |f| %>
-    <div class="form-group <%= error_class f.object, :key %> col-sm-4">
+    <div class="form-group <%= error_class f.object, :key %> col-sm-6">
       <div class="input-group">
         <%= f.text_field :key,
             :value => nil,
--- a/config/locales/en.yml	Sun Sep 06 03:53:34 2015 +0900
+++ b/config/locales/en.yml	Sun Sep 06 03:58:22 2015 +0900
@@ -2,12 +2,26 @@
 # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
 
 en:
+  layouts:
+    application:
+      donate: Donate
+      source: Source
+
   pastes:
     new:
       clear: Clear
-      deletion_key: Deletion key
+      deletion_key: Deletion Key
       privacy:
         label: Privacy
         private: Private
         public: Public
       title: New Paste
+
+    show:
+      derive: Derive
+      highlight: Highlight
+      markdown: Markdown
+      more: More Paste
+      plain: Plain
+      raw: Raw
+      delete: Delete This Paste