fixed locales

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@284 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 266c931129
commit b6dac0bca3
  1. 5
      config/locales/de.yml
  2. 5
      config/locales/en.yml
  3. 141
      lang/de.yml
  4. 140
      lang/en.yml
  5. 20
      tasks/gloc_to_i18n.rake

@ -0,0 +1,5 @@
---
de:
de:
de: {}

@ -0,0 +1,5 @@
---
en:
en:
en: {}

@ -1,139 +1,4 @@
week: "Woche"
group_by_others: "In keiner der Gruppen"
project_module_costs_module: "Controlling"
cost_types_title: "Kostenarten"
cost_objects_title: "Controlling"
cost_reports_title: "Reports"
---
de:
de: {}
currency_delimiter: "."
currency_separator: ","
permission_view_own_rate: "Eigene Stundensätze ansehen"
permission_view_all_rates: "Alle Stundensätze ansehen"
permission_edit_rates: "Stundensätze editieren"
permission_book_own_costs: "Eigene Materialkosten buchen"
permission_book_costs: "Materialkosten buchen"
permission_edit_own_cost_entries: "Bearbeiten eigener gebuchter Materialkosten"
permission_edit_cost_entries: "Bearbeiten gebuchter Materialkosten"
permission_view_unit_price: "Anzeigen von Materialeinzelpreisen"
permission_block_tickets: "Tickets blockieren"
permission_view_cost_entries: "Gebuchte Kosten ansehen"
permission_view_cost_objects: "Liefergegenstände ansehen"
permission_edit_cost_objects: "Liefergegenstände bearbeiten"
help_currency_format: "Format der angezeigten Währungswerte. %%n wird mit dem Zahlenwert ersetzt, %%u mit der Währung."
help_override_rate: "Hier einen Wert eingeben um den Standardwert zu überschreiben."
help_click_to_edit: "Hier Klicken zum bearbeiten."
label_currency: "Währung"
label_currency_format: "Währungsformat"
label_cost_object: "Liefergegenstand"
label_cost_object_plural: "Liefergegenstände"
label_cost_object_new: "Neuer Liefergegenstand"
label_cost_object_id: "Liefergegenstand #%s"
label_view_all_cost_objects: "Alle Liefergegenstände anzeigen"
label_overall_costs: "Gesamtkosten"
label_costs_per_page: "Kosten dieser Seite"
label_spent_costs: "Gebuchte Kosten"
label_spent_units: "Gebuchte Einheiten"
label_cost_plural: "Kosten"
label_units: "Einheiten"
label_variable_cost_object: "Variables Budget"
label_fixed_cost_object: "Festes Budget"
label_kind: "Art"
label_generic_user: "Generischer Benutzer"
label_edit: "Bearbeiten"
label_status_in_progress: "In Bearbeitung"
label_status_finished: "Abgeschlossen"
label_awaiting_client: "Warten auf Kundenantwort"
label_awaiting_manager: "Warten auf Managerantwort"
label_valid_from: "Gültig ab"
label_fixed_date: "Referenzdatum"
label_rate: "Satz"
label_rate_plural: "Sätze"
label_current_default_rate: "Aktueller Standardsatz"
label_include_deleted: "Gelöschte anzeigen"
label_deleted_cost_types: "Gelöschte Kostenarten"
label_cost_report: "Report"
label_group_by: "Gruppiere Ergebnisse"
label_option_plural: "Optionen"
label_display_types: "Angezeigte Eintragsarten"
label_display_cost_entries: "Materialkosten anzeigen"
label_display_time_entries: "Personaleinzelkosten anzeigen"
label_issue_filter_add: "Ticketfilter hinzufügen"
label_cost_filter_add: "Kostenfilter hinzufügen"
label_group_by_add: "Gruppierungsfeld hinzufügen"
label_less_or_equal: "<="
label_greater_or_equal: ">="
label_between: "zwischen"
label_until: "bis"
label_date_on: "am"
label_yes: "Ja"
label_no: "Nein"
button_log_costs: "Materialkosten buchen"
button_add_cost_object: "Liefergegenstand anlegen"
button_add_cost_type: "Kostenart anlegen"
button_add_budget_item: "Budgetposition hinzufügen"
button_add_rate: "Satz hinzufügen"
notice_successful_restore: "Erfolgreich wiederhergestellt."
notice_something_wrong: "Ein Fehler ist aufgetreten. Bitte versuchen Sie es erneut."
caption_cost_type: "Kostenart"
caption_cost_type_plural: "Kostenarten"
caption_cost_type_unit_name: "Einheit"
caption_cost_type_unit_name_plural: "Einheit Plural"
caption_cost_unit_plural: "Einheiten"
caption_overall_costs: "Gesamtkosten"
caption_costs: "Kosten"
caption_fixed_date: "Referenzdatum"
caption_progress: "Fortschritt"
caption_subject: "Thema"
caption_budget: "Budget"
caption_current_rate: "Aktueller Satz"
caption_rate: "Satz"
caption_rate_history: "Stundensatz-Historie"
caption_rate_history_for: "Stundensatz-Historie für %s"
caption_rate_history_for_project: "Studensatz-Historie für %s in Projekt %s"
caption_default_rate_history_for: "Standardsatz-Historie für %s"
caption_budget_ratio: "Verbrauchtes Budget"
caption_labor_budget: "Arbeitszeitbudget"
caption_material_budget: "Materialbudget"
caption_labor_costs: "Personeneinzelkosten"
caption_material_costs: "Materialeinzelkosten"
caption_spent: "Gebucht"
caption_status: "Status"
caption_comment: "Kommentar"
caption_issue: "Ticket"
caption_materials: "Material"
caption_labor: "Personal"
caption_default: "Standard"
caption_deleted_at: "Gelöscht am"
caption_set_rate: "Aktuellen Satz festlegen"
caption_valid_from: "Gültig ab"
caption_default_rates: "Standardsätze"
field_cost_type: "Kostenart"
field_unit_price: "Materialeinzelpreis"
field_unit: "Einheit"
field_unit_plural: "Einheit Plural"
field_units: "Einheiten"
field_material_costs: "Materialeinzelkosten"
field_material_budget: "Materialbudget"
field_labor_costs: "Personaleinzelkosten"
field_labor_budget: "Arbeitszeitbudget"
field_overall_costs: "Gesamtkosten"
field_costs: "Kosten"
field_kind: "Typ"
field_fixed_date: "Referenzdatum"
field_budget_ratio: "Verbrauchtes Budget"
field_project_manager_signoff: "Genehmigt vom Projektmanager"
field_client_signoff: "Genehmigt vom Kunden"
field_cost_object: "Liefergegenstand"
field_cost_object_subject: "Thema des Liefergegenstands"
field_default: "Standard"
field_overridden_costs: "Überschriebene Kosten"
text_cost_object_change_type_confirmation: "Sind Sie sicher? Diese Operation wird einige Informationen des aktuellen Liefergegenstands löschen."

@ -1,138 +1,4 @@
week: "week"
group_by_others: "not in any group"
project_module_costs_module: "Cost Control"
cost_types_title: "Cost Types"
cost_objects_title: "Cost Control"
cost_reports_title: "Cost Reports"
---
en:
en: {}
currency_delimiter: ","
currency_separator: "."
permission_view_own_rate: "View own rate"
permission_view_all_rates: "View all rates"
permission_edit_rates: "Edit rates"
permission_book_own_costs: "Book material costs for oneself"
permission_book_costs: "Book material costs"
permission_edit_own_cost_entries: "Edit own booked material costs"
permission_edit_cost_entries: "Edit booked material costs"
permission_view_unit_price: "View unit price"
permission_block_tickets: "Block tickets"
permission_view_cost_entries: "View booked costs"
permission_view_cost_objects: "View Cost Objects"
permission_edit_cost_objects: "Edit Cost Objects"
help_currency_format: "Format of displayed currency values. %%n is replaced with the currency value, %%u ist replaced with the currency unit."
help_override_rate: "Enter a value here to override the default rate."
help_click_to_edit: "Click here to edit."
label_currency: "Currency"
label_currency_format: "Format of currency"
label_cost_object: "Cost Object"
label_cost_object_plural: "Cost Objects"
label_cost_object_new: "New Cost Object"
label_cost_object_id: "Cost Object #%s"
label_view_all_cost_objects: "View all Cost Objects"
label_overall_costs: "Overall costs"
label_costs_per_page: "Costs per page"
label_spent_costs: "Spent costs"
label_spent_units: "Spent units"
label_cost_plural: "Costs"
label_units: "Cost units"
label_variable_cost_object: "Variable rate based budget"
label_fixed_cost_object: "Fixed budget"
label_kind: "Type"
label_generic_user: "Generic User"
label_edit: "Edit"
label_status_in_progress: "In progress"
label_status_finished: "Finished"
label_awaiting_client: "Awaiting client response"
label_awaiting_manager: "Awaiting manager response"
label_valid_from: "Valid from"
label_fixed_date: "Fixed date"
label_rate: "Rate"
label_rate_plural: "Rates"
label_current_default_rate: "Current default rate"
label_include_deleted: "Include deleted"
label_deleted_cost_types: "Deleted Cost Types"
label_cost_report: "Cost Report"
label_group_by: "Group by"
label_option_plural: "Options"
label_display_types: "Display types"
label_issue_filter_add: "Add issue filter"
label_cost_filter_add: "Add cost entry filter"
label_group_by_add: "Add grouping field"
label_less_or_equal: "<="
label_greater_or_equal: ">="
label_between: "between"
label_until: "until"
label_date_on: "on"
label_yes: "Yes"
label_no: "No"
button_log_costs: "Log material costs"
button_add_cost_object: "Add Cost Object"
button_add_cost_type: "Add cost type"
button_add_budget_item: "Add budget item"
button_add_rate: "Add rate"
notice_successful_restore: "Successful restore."
notice_something_wrong: "Something went wrong. Please try again."
caption_cost_type: "Cost Type"
caption_cost_type_plural: "Cost Types"
caption_cost_type_unit_name: "Unit Name"
caption_cost_type_unit_name_plural: "Pluralized Unit Name"
caption_cost_unit_plural: "Units"
caption_overall_costs: "Overall Costs"
caption_costs: "Costs"
caption_fixed_date: "Fixed Date"
caption_progress: "Progress"
caption_subject: "Subject"
caption_budget: "Budget"
caption_current_rate: "Current Rate"
caption_rate: "Rate"
caption_rate_history: "Rate History"
caption_rate_history_for: "Rate History for %s"
caption_rate_history_for_project: "Rate History for %s in Project %s"
caption_default_rate_history_for: "Default Rate History for %s"
caption_budget_ratio: "Spent Budget"
caption_labor_budget: "Labor Budget"
caption_material_budget: "Material Budget"
caption_labor_costs: "Labor Costs"
caption_material_costs: "Material Costs"
caption_spent: "Spent"
caption_status: "Status"
caption_comment: "Comment"
caption_issue: "Issue"
caption_materials: "Materials"
caption_labor: "Labor"
caption_default: "Default"
caption_deleted_at: "Deleted on"
caption_set_rate: "Set Current Rate"
caption_valid_from: "Valid from"
caption_default_rates: "Default Rates"
field_cost_type: "Cost type"
field_unit_price: "Unit price"
field_unit: "Unit name"
field_unit_plural: "Pluralized unit name"
field_units: "Units"
field_material_costs: "Material costs"
field_material_budget: "Material budget"
field_labor_costs: "Labor costs"
field_labor_budget: "Labor budget"
field_overall_costs: "Overall costs"
field_costs: "Costs"
field_spent: "Spent"
field_kind: "Type"
field_fixed_date: "Fixed Date"
field_budget_ratio: "Spent budget"
field_project_manager_signoff: "Project manager signoff"
field_client_signoff: "Client signoff"
field_cost_object: "Cost Object"
field_cost_object_subject: "Cost Object Subject"
field_default: "Default"
field_overridden_costs: "Overridden Costs"
text_cost_object_change_type_confirmation: "Are you sure? This operation will destroy information of the specific cost object type."

@ -0,0 +1,20 @@
directory = File.dirname File.dirname(__FILE__)
project = File.basename directory
namespace :gloc_to_i18n do
task project do
chdir(directory) do
Dir.glob("lang/*.yml") do |file|
lang = file[5..-5]
target = "config/locales/#{lang}.yml"
locales = YAML.load_file(target) if File.exist? target
locales ||= {}
(locales[lang] ||= {}).merge! YAML.load_file(target)
mkdir_p File.dirname(target)
File.open(target, "w") { |f| f << locales.to_yaml }
File.open(file, "w") { |f| f << locales[lang].to_yaml }
end
end
end
end
task :gloc_to_i18n => "gloc_to_i18n:#{project}"
Loading…
Cancel
Save