From a0c74ff3b30d493a971b46029f5c176fc528daa5 Mon Sep 17 00:00:00 2001 From: Brian Palmer Date: Fri, 22 Aug 2014 10:41:38 -0600 Subject: [PATCH] add an auto-generated comment to language yml files Change-Id: Ib5edd010f8a6268d2ece5857ea6d5eca383c6d6a Reviewed-on: https://gerrit.instructure.com/39786 Reviewed-by: Jacob Fugal Tested-by: Jenkins Product-Review: Brian Palmer QA-Review: Brian Palmer --- config/locales/ar.yml | 2 ++ config/locales/de.yml | 2 ++ config/locales/en-AU.yml | 2 ++ config/locales/en-GB.yml | 2 ++ config/locales/es.yml | 2 ++ config/locales/fa-IR.yml | 2 ++ config/locales/fr.yml | 2 ++ config/locales/ja.yml | 2 ++ config/locales/ko.yml | 2 ++ config/locales/nb.yml | 2 ++ config/locales/nl.yml | 2 ++ config/locales/pl.yml | 2 ++ config/locales/pt-BR.yml | 2 ++ config/locales/pt.yml | 2 ++ config/locales/ru.yml | 2 ++ config/locales/tr.yml | 2 ++ config/locales/zh.yml | 2 ++ gems/i18n_tasks/lib/tasks/i18n.rake | 4 ++++ 18 files changed, 38 insertions(+) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 8ccc61fb93c..7fb969812b1 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- ar: EditAppointmentGroupDetails: diff --git a/config/locales/de.yml b/config/locales/de.yml index 9f91505be49..e597c8025a4 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- de: EditAppointmentGroupDetails: diff --git a/config/locales/en-AU.yml b/config/locales/en-AU.yml index 0366f8b5c1f..e2390f2a2b3 100644 --- a/config/locales/en-AU.yml +++ b/config/locales/en-AU.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- en-AU: EditAppointmentGroupDetails: diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index b8cd3269bee..c5441698d33 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- en-GB: EditAppointmentGroupDetails: diff --git a/config/locales/es.yml b/config/locales/es.yml index f04bd26759a..55760d6e161 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- es: EditAppointmentGroupDetails: diff --git a/config/locales/fa-IR.yml b/config/locales/fa-IR.yml index e838337b837..7347d91666f 100644 --- a/config/locales/fa-IR.yml +++ b/config/locales/fa-IR.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- fa-IR: EditAppointmentGroupDetails: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index b9a4fa95ee3..1397713f592 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- fr: EditAppointmentGroupDetails: diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 467cc1a01b0..415f756495d 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- ja: EditAppointmentGroupDetails: diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 769dbc97108..e0e84cdb357 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- ko: EditAppointmentGroupDetails: diff --git a/config/locales/nb.yml b/config/locales/nb.yml index 9fdc74c4cf6..b5d9d623d76 100644 --- a/config/locales/nb.yml +++ b/config/locales/nb.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- nb: EditAppointmentGroupDetails: diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 09875a01158..6f50d005e86 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- nl: EditAppointmentGroupDetails: diff --git a/config/locales/pl.yml b/config/locales/pl.yml index fc44853afe4..2d89d6071f5 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- pl: EditAppointmentGroupDetails: diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index aeae35d10f5..c6f55e662ba 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- pt-BR: EditAppointmentGroupDetails: diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 665143bf83c..275158f628e 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- pt: EditAppointmentGroupDetails: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 195c2f60548..790b60b3ba1 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- ru: EditAppointmentGroupDetails: diff --git a/config/locales/tr.yml b/config/locales/tr.yml index eebf5f74fda..b19652dffbb 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- tr: EditAppointmentGroupDetails: diff --git a/config/locales/zh.yml b/config/locales/zh.yml index db56b99519a..a8b953bb48f 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1,3 +1,5 @@ +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. --- zh: EditAppointmentGroupDetails: diff --git a/gems/i18n_tasks/lib/tasks/i18n.rake b/gems/i18n_tasks/lib/tasks/i18n.rake index 2208f637eb1..36702782d5e 100755 --- a/gems/i18n_tasks/lib/tasks/i18n.rake +++ b/gems/i18n_tasks/lib/tasks/i18n.rake @@ -527,6 +527,10 @@ namespace :i18n do raise "got no translations" if complete_translations.nil? File.open("config/locales/#{import.language}.yml", "w") { |f| + f.write <<-HEADER +# This YAML file is auto-generated from a Transifex import. +# Do not edit it by hand, your changes will be overwritten. +HEADER f.write({import.language => complete_translations}.ya2yaml(:syck_compatible => true)) }