fixed locales

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@287 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 6971210cba
commit 37d1c98be8
  1. 135
      config/locales/de.yml
  2. 134
      config/locales/en.yml
  3. 8
      tasks/gloc_to_i18n.rake

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

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

@ -6,12 +6,10 @@ namespace :gloc_to_i18n 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 }
File.open(target, "w") do |f|
f << ({lang => YAML.load_file(file)}.to_yaml)
end
end
end
end

Loading…
Cancel
Save