diff --git a/app/controllers/concerns/decidim/term_customizer/admin/filterable.rb b/app/controllers/concerns/decidim/term_customizer/admin/filterable.rb new file mode 100644 index 00000000..79ccab7b --- /dev/null +++ b/app/controllers/concerns/decidim/term_customizer/admin/filterable.rb @@ -0,0 +1,31 @@ +# frozen_string_literal: true + +require "active_support/concern" + +module Decidim + module TermCustomizer + module Admin + module Filterable + extend ActiveSupport::Concern + + included do + include Decidim::Admin::Filterable + + private + + def base_query + Decidim::TermCustomizer::TranslationSet.joins(:constraints).where( + decidim_term_customizer_constraints: { + decidim_organization_id: current_organization.id + } + ).distinct + end + + def search_field_predicate + :search_text_or_translations_key_or_translations_value_cont + end + end + end + end + end +end diff --git a/app/controllers/decidim/term_customizer/admin/caches_controller.rb b/app/controllers/decidim/term_customizer/admin/caches_controller.rb index 916b7c98..4de91f85 100644 --- a/app/controllers/decidim/term_customizer/admin/caches_controller.rb +++ b/app/controllers/decidim/term_customizer/admin/caches_controller.rb @@ -16,7 +16,7 @@ def clear TermCustomizer.loader.clear_cache flash[:notice] = I18n.t("caches.clear.success", scope: "decidim.term_customizer.admin") - redirect_to translation_sets_path + redirect_back(fallback_location: translation_sets_path) end end end diff --git a/app/controllers/decidim/term_customizer/admin/translation_sets_controller.rb b/app/controllers/decidim/term_customizer/admin/translation_sets_controller.rb index d27f5958..ab25f1a3 100644 --- a/app/controllers/decidim/term_customizer/admin/translation_sets_controller.rb +++ b/app/controllers/decidim/term_customizer/admin/translation_sets_controller.rb @@ -4,13 +4,14 @@ module Decidim module TermCustomizer module Admin class TranslationSetsController < TermCustomizer::Admin::ApplicationController + include Decidim::TermCustomizer::Admin::Filterable include TranslatableAttributes helper_method :collection, :subject_manifests, :blank_constraint def index enforce_permission_to :read, :translation_set - @sets = collection + @sets = filtered_collection.includes(constraints: :subject) end def new diff --git a/app/models/decidim/term_customizer/translation.rb b/app/models/decidim/term_customizer/translation.rb index 9ac1583a..c739920f 100644 --- a/app/models/decidim/term_customizer/translation.rb +++ b/app/models/decidim/term_customizer/translation.rb @@ -18,6 +18,14 @@ def available_locales Translation.select("DISTINCT locale").to_a.map { |t| t.locale.to_sym } end end + + def self.ransackable_attributes(_auth_object = nil) + %w(key value) + end + + def self.ransackable_associations(_auth_object = nil) + ["translation_set"] + end end end end diff --git a/app/models/decidim/term_customizer/translation_set.rb b/app/models/decidim/term_customizer/translation_set.rb index b15ff1f4..cc8ea4e5 100644 --- a/app/models/decidim/term_customizer/translation_set.rb +++ b/app/models/decidim/term_customizer/translation_set.rb @@ -3,6 +3,8 @@ module Decidim module TermCustomizer class TranslationSet < TermCustomizer::ApplicationRecord + include Decidim::FilterableResource + self.table_name = "decidim_term_customizer_translation_sets" has_many :translations, @@ -12,6 +14,18 @@ class TranslationSet < TermCustomizer::ApplicationRecord has_many :constraints, class_name: "Decidim::TermCustomizer::Constraint", dependent: :destroy + + # Create i18n ransackers for :name. + # Create the :search_text ransacker alias for searching from this attribute. + ransacker_i18n_multi :search_text, [:name] + + def self.ransackable_attributes(_auth_object = nil) + %w(search_text) + end + + def self.ransackable_associations(_auth_object = nil) + %w(translations) + end end end end diff --git a/app/views/decidim/term_customizer/admin/add_translations/index.html.erb b/app/views/decidim/term_customizer/admin/add_translations/index.html.erb index fa850362..d5afd261 100644 --- a/app/views/decidim/term_customizer/admin/add_translations/index.html.erb +++ b/app/views/decidim/term_customizer/admin/add_translations/index.html.erb @@ -14,6 +14,10 @@ <%= t("actions.help", scope: "decidim.term_customizer.admin") %> + <%= link_to translation_set_translations_path(set), class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %> diff --git a/app/views/decidim/term_customizer/admin/translation_sets/_form.html.erb b/app/views/decidim/term_customizer/admin/translation_sets/_form.html.erb index fa8bd074..fa25985b 100644 --- a/app/views/decidim/term_customizer/admin/translation_sets/_form.html.erb +++ b/app/views/decidim/term_customizer/admin/translation_sets/_form.html.erb @@ -9,6 +9,7 @@
<%= form.translated :text_field, :name, autofocus: true %> + <%= t(".name_help_text") %>
diff --git a/app/views/decidim/term_customizer/admin/translation_sets/_search.html.erb b/app/views/decidim/term_customizer/admin/translation_sets/_search.html.erb new file mode 100644 index 00000000..ef4ab103 --- /dev/null +++ b/app/views/decidim/term_customizer/admin/translation_sets/_search.html.erb @@ -0,0 +1,22 @@ +
+ +
diff --git a/app/views/decidim/term_customizer/admin/translation_sets/edit.html.erb b/app/views/decidim/term_customizer/admin/translation_sets/edit.html.erb index 63fc35d7..6a4baaf8 100644 --- a/app/views/decidim/term_customizer/admin/translation_sets/edit.html.erb +++ b/app/views/decidim/term_customizer/admin/translation_sets/edit.html.erb @@ -11,6 +11,10 @@ <%= t("actions.help", scope: "decidim.term_customizer.admin") %> + <%= link_to translation_sets_path, class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %>
diff --git a/app/views/decidim/term_customizer/admin/translation_sets/index.html.erb b/app/views/decidim/term_customizer/admin/translation_sets/index.html.erb index c36f4087..c35c9b29 100644 --- a/app/views/decidim/term_customizer/admin/translation_sets/index.html.erb +++ b/app/views/decidim/term_customizer/admin/translation_sets/index.html.erb @@ -15,12 +15,19 @@
+
+ <%= render "search" %> +
+
<% if @sets.count > 0 %> + + + @@ -34,6 +41,25 @@ <%= translated_attribute(set.name) %> <% end %> + + +
<%= t("models.translation_sets.fields.name", scope: "decidim.term_customizer.admin") %><%= t("models.translation_sets.fields.keys", scope: "decidim.term_customizer.admin") %><%= t("models.translation_sets.fields.constraints", scope: "decidim.term_customizer.admin") %><%= t("models.translation_sets.fields.total", scope: "decidim.term_customizer.admin") %> <%= t("actions.title", scope: "decidim.term_customizer.admin") %>
+ <% preview_keys = set.translations.limit(4).pluck(:key) %> + <%= preview_keys.first(3).join(", ") %><%= "..." if preview_keys.size > 3 %> + + <% set.constraints.each do |constraint| %> + + <% if constraint.component %> + <%= translated_attribute(constraint.component.participatory_space.title) %> / + <%= translated_attribute(constraint.component.name) %> + <% elsif constraint.subject %> + <%= translated_attribute(constraint.subject.title) %> + <% else %> + <%= t("models.translation_sets.constraints.global", scope: "decidim.term_customizer.admin") %> + <% end %> + + <% end %> + <%= set.translations.count %> <% if allowed_to? :read, :translation %> <%= icon_link_to "eye-line", translation_set_translations_path(set), t("actions.view", scope: "decidim.term_customizer.admin"), class: "action-icon--show" %> diff --git a/app/views/decidim/term_customizer/admin/translation_sets/new.html.erb b/app/views/decidim/term_customizer/admin/translation_sets/new.html.erb index e415ad8b..e5298d3e 100644 --- a/app/views/decidim/term_customizer/admin/translation_sets/new.html.erb +++ b/app/views/decidim/term_customizer/admin/translation_sets/new.html.erb @@ -11,6 +11,10 @@ <%= t("actions.help", scope: "decidim.term_customizer.admin") %> + <%= link_to translation_sets_path, class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %>
diff --git a/app/views/decidim/term_customizer/admin/translations/edit.html.erb b/app/views/decidim/term_customizer/admin/translations/edit.html.erb index 04f0aad4..8de0a643 100644 --- a/app/views/decidim/term_customizer/admin/translations/edit.html.erb +++ b/app/views/decidim/term_customizer/admin/translations/edit.html.erb @@ -13,6 +13,10 @@ <%= t("actions.help", scope: "decidim.term_customizer.admin") %>
+ <%= link_to translation_set_translations_path(set), class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %>
diff --git a/app/views/decidim/term_customizer/admin/translations/index.html.erb b/app/views/decidim/term_customizer/admin/translations/index.html.erb index e5569264..491bbda8 100644 --- a/app/views/decidim/term_customizer/admin/translations/index.html.erb +++ b/app/views/decidim/term_customizer/admin/translations/index.html.erb @@ -10,6 +10,7 @@
+ <%= render partial: "decidim/term_customizer/admin/translations/bulk_actions/dropdown" %> <% if allowed_to? :create, :translation %> <%= link_to t("actions.add_multiple_translations", scope: "decidim.term_customizer.admin"), translation_set_add_translations_path(set), class: "button button__sm button__secondary" %> @@ -21,6 +22,13 @@ <% if set.translations.count > 0 && allowed_to?(:export, :translation_set, translation_set: set) %> <%= render partial: "export_dropdown" %> <% end %> + <% if allowed_to? :update, :organization %> + <%= link_to t("actions.clear_cache", scope: "decidim.term_customizer.admin"), clear_caches_path, method: :delete, class: "imports-example tiny button button__sm button__secondary button--simple mr-2", data: { confirm: t("actions.clear_cache_confirm", scope: "decidim.term_customizer.admin") } %> + <% end %> + <%= link_to translation_sets_path, class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %>
<%= render partial: "decidim/term_customizer/admin/translations/bulk_actions/destroy" %> diff --git a/app/views/decidim/term_customizer/admin/translations/new.html.erb b/app/views/decidim/term_customizer/admin/translations/new.html.erb index 959503a5..ba46ce98 100644 --- a/app/views/decidim/term_customizer/admin/translations/new.html.erb +++ b/app/views/decidim/term_customizer/admin/translations/new.html.erb @@ -13,6 +13,10 @@ <%= t("actions.help", scope: "decidim.term_customizer.admin") %> + <%= link_to translation_set_translations_path(set), class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %>
diff --git a/app/views/decidim/term_customizer/admin/translations/new_import.html.erb b/app/views/decidim/term_customizer/admin/translations/new_import.html.erb index d54b1cc2..6e2332a4 100644 --- a/app/views/decidim/term_customizer/admin/translations/new_import.html.erb +++ b/app/views/decidim/term_customizer/admin/translations/new_import.html.erb @@ -7,6 +7,10 @@ > <%= t "translations.new_import.title", scope: "decidim.term_customizer.admin" %>
+ <%= link_to translation_set_translations_path(set), class: "button button__sm button__transparent-secondary" do %> + <%= icon "arrow-go-back-line" %> + <%= t("actions.back", scope: "decidim.term_customizer.admin") %> + <% end %> diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 20c46980..a0380287 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -18,8 +18,13 @@ ca: translations_import: attributes: file: - invalid_mime_type: 'Tipus de document no vàlid. Els formats acceptats són: %{valid_mime_types}' + invalid_mime_type: 'Tipus de document no vàlid. Els formats acceptats + són: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Cerca conjunts de traduccions per nom o traduccions per clau o valor term_customizer: admin: actions: @@ -27,27 +32,39 @@ ca: back: Enrere cancel: Cancel·lar clear_cache: Aplica les traduccions + clear_cache_confirm: Voleu aplicar les traduccions? Això esborrarà la memòria cau i els canvis seran visibles a l'aplicació. confirm_duplicate: Esteu segur de voler duplicar aquest conjunt? duplicate: Duplicar help: Ajuda import: Importar - new_translation: Nova traducció + new_translation: Traducció manual new_translation_set: Nou set/joc de traducció title: Accions view: Visualitza add_translations: index: add: Afegir - help_html: Comença per posar un parell de lletres que apareixin en el terme que vulguis traduir. Espera uns segons i veuràs que es desplega una llista de totes les traduccions que contenen la teva cerca. Clica en aquelles traduccions que vulguis traduir. Aquestes paraules i/o frases s'afageixen i es guarden dins el conjunt que has creat prèviament.

Una vegada tinguis totes les frases i/o paraules, clica a el "%{button_name}" botó que està sota de les frases.

+ help_html: Comença per posar un parell de lletres que apareixin en el + terme que vulguis traduir. Espera uns segons i veuràs que es desplega + una llista de totes les traduccions que contenen la teva cerca. Clica + en aquelles traduccions que vulguis traduir. Aquestes paraules i/o frases + s'afageixen i es guarden dins el conjunt que has creat prèviament.

+

Una vegada tinguis totes les frases i/o paraules, clica a el "%{button_name}" + botó que està sota de les frases.

help_title: Com cercar traduccions? search: Buscar caches: clear: - success: Les traduccions s'han actualitzat correctament + success: Traduccions aplicades correctament models: translation_sets: + constraints: + global: Global fields: + constraints: Restriccions + keys: Claus name: Nom + total: Total de traduccions translations: fields: key: Clau de traducció @@ -75,13 +92,34 @@ ca: title: Set/Joc de traducció form: add_constraint: Afegir restricció - constraint_help_html:

Les restriccions són regles específiques que us permeten aplicar les personalitzacions en un conjunt a un context específic.

En cas que no definiu cap regla de restricció, les personalitzacions d'aquest conjunt s'aplicaran a tota l'aplicació. D'altra banda, si voleu que les personalitzacions d'aquest conjunt només s'apliquin a un procés concret, seleccioneu "Processos participatius" com a tipus d'espai participatiu i el procés objectiu com a espai participatiu. A més, també podeu aplicar les personalitzacions a un component específic definint el component per a la restricció.

Si definiu diverses restriccions, les personalitzacions s'aplicaran en aquestes.

+ constraint_help_html:

Les restriccions són regles específiques que + us permeten aplicar les personalitzacions en un conjunt a un context + específic.

En cas que no definiu cap regla de restricció, les + personalitzacions d'aquest conjunt s'aplicaran a tota l'aplicació. D'altra + banda, si voleu que les personalitzacions d'aquest conjunt només s'apliquin + a un procés concret, seleccioneu "Processos participatius" com a tipus + d'espai participatiu i el procés objectiu com a espai participatiu. + A més, també podeu aplicar les personalitzacions a un component específic + definint el component per a la restricció.

Si definiu diverses + restriccions, les personalitzacions s'aplicaran en aquestes.

constraint_help_title: Què són les restriccions? - help_html:

Un conjunt de traduccions és un "conjunt" que conté les traduccions d'un context específic que voleu personalitzar.

Els conjunts de traduccions us ajuden a personalitzar el vocabulari i aplicar-les a diferents contextos. Això us permet personalitzar la mateixa traducció de manera diferent en diferents contextos.

Per exemple, si voleu personalitzar un botó amb el terme "Afegeix" de manera diferent per a diferents processos de participació, podeu crear conjunts de traduccions separats per a tots dos processos i aplicar el conjunt en els processos mitjançant les restriccions.

+ help_html:

Un conjunt de traduccions és un "conjunt" que conté les + traduccions d'un context específic que voleu personalitzar.

Els + conjunts de traduccions us ajuden a personalitzar el vocabulari i aplicar-les + a diferents contextos. Això us permet personalitzar la mateixa traducció + de manera diferent en diferents contextos.

Per exemple, si voleu + personalitzar un botó amb el terme "Afegeix" de manera diferent per + a diferents processos de participació, podeu crear conjunts de traduccions + separats per a tots dos processos i aplicar el conjunt en els processos + mitjançant les restriccions.

help_title: Què és un conjunt de traduccions? + name_help_text: Introduïu un títol descriptiu per al conjunt de traduccions. title: Set/Joc de traducció index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Crear title: Sets/Jocs de traduccions @@ -95,32 +133,51 @@ ca: destroy: success: La traducció ha estat esborrada amb èxit edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Guardar - title: Traducció - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Traducció import: error: Error en l'importació de traduccions success: Èxit en l'importació de traducció. index: actions: Accions - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selecciona new: create: Crear - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Afegiu un fitxer d''importació que s''analitzarà per a les traduccions. Els formats admesos són: %{valid_mime_types}' + file_legend: 'Afegiu un fitxer d''importació que s''analitzarà per a les + traduccions. Els formats admesos són: %{valid_mime_types}' start_import: Començar importació title: Importa les traduccions zip_hint: També podeu carregar el fitxer ZIP des de l'exportació de traduccions. @@ -133,7 +190,8 @@ ca: success: Les traduccions han estat esborrades amb èxit. new: destroy: Eliminar + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Personalització de termes diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 920f2bdb..905a01e7 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -20,34 +20,50 @@ cs: file: invalid_mime_type: 'Neplatný typ souboru. Přijatelné formáty jsou: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Hledat překladové sady podle názvu + nebo překlady podle klíče term_customizer: admin: actions: add_multiple_translations: Přidat více back: Zpět cancel: Zrušit - clear_cache: Vymazat mezipaměť + clear_cache: Použít překlady confirm_duplicate: Opravdu chcete duplikovat tuto sadu? duplicate: Duplikovat help: Nápověda import: Importovat - new_translation: Nový překlad + new_translation: Ruční překlad new_translation_set: Nová sada překladů title: Akce view: Zobrazit add_translations: index: add: Přidat - help_html:

Začněte zadáním několika písmen ve výrazu, který chcete změnit ve vyhledávacím panelu. Počkejte několik sekund a seznam všech překladů, které odpovídají vašemu vyhledávání, se zobrazí pod vyhledávacím polem. Klikněte na překlady v tomto seznamu, které chcete změnit. Zobrazí se pod vyhledávacím polem v seznamu překladů, které mají být přidány.

Jakmile přidáte všechny překlady, které chcete změnit, klikněte na tlačítko "%{button_name}" v dolní části obrazovky.

+ help_html:

Začněte zadáním několika písmen ve výrazu, který chcete + změnit ve vyhledávacím panelu. Počkejte několik sekund a seznam všech + překladů, které odpovídají vašemu vyhledávání, se zobrazí pod vyhledávacím + polem. Klikněte na překlady v tomto seznamu, které chcete změnit. Zobrazí + se pod vyhledávacím polem v seznamu překladů, které mají být přidány.

+

Jakmile přidáte všechny překlady, které chcete změnit, klikněte na + tlačítko "%{button_name}" v dolní části obrazovky.

help_title: Jak hledat překlady? search: Hledat caches: clear: - success: Mezipaměť úspěšně vymazána + success: Překlady úspěšně použity models: translation_sets: + constraints: + global: Globální fields: + constraints: Omezení + keys: Klíče name: Název + total: Celkem překladů translations: fields: key: Překladový klíč @@ -75,13 +91,31 @@ cs: title: Překladová sada form: add_constraint: Přidat omezení - constraint_help_html:

Omezení jsou specifická pravidla, která vám umožňují použít vlastní nastavení v nastaveném kontextu.

V případě, že nedefinujete žádná pravidla vazeb, budou přizpůsobení v této sadě platit pro celou aplikaci. Na druhé straně, pokud chcete, aby se přizpůsobení v této sadě vztahovalo pouze na konkrétní proces, jako participační prostor vyberte „účastnické procesy“ a cílový proces. Kromě toho můžete také použít přizpůsobení na určitou komponentu definováním komponenty pro omezení.

Pokud definujete více vazeb, budou aplikovány na všechny tyto vazby.

+ constraint_help_html: "

Omezení jsou specifická pravidla, která vám + umožňují použít vlastní nastavení v nastaveném kontextu.

V případě, + že nedefinujete žádná pravidla vazeb, budou přizpůsobení v této sadě + platit pro celou aplikaci. Na druhé straně, pokud chcete, aby se přizpůsobení + v této sadě vztahovalo pouze na konkrétní proces, jako participační + prostor vyberte „účastnické procesy“ a cílový proces. Kromě toho můžete + také použít přizpůsobení na určitou komponentu definováním komponenty + pro omezení.

Pokud definujete více vazeb, budou aplikovány na + všechny tyto vazby.

" constraint_help_title: Co jsou omezení? - help_html:

sada překladů je "kontejner", který obsahuje překlady pro konkrétní kontext, který chcete upravit.

Překlad vám pomůže uspořádat si vlastní nastavení a aplikovat je na různé kontexty. To vám umožní přizpůsobit stejný překlad rozdílně v různých kontextech.

Například, pokud chcete přizpůsobit tlačítko s termínem "Přidat" odlišně pro různé participační procesy, můžete vytvořit samostatné sady překladů pro oba procesy a použít nastavení pro tyto procesy pomocí omezení.

+ help_html:

sada překladů je "kontejner", který obsahuje překlady pro + konkrétní kontext, který chcete upravit.

Překlad vám pomůže uspořádat + si vlastní nastavení a aplikovat je na různé kontexty. To vám umožní + přizpůsobit stejný překlad rozdílně v různých kontextech.

Například, + pokud chcete přizpůsobit tlačítko s termínem "Přidat" odlišně pro různé + participační procesy, můžete vytvořit samostatné sady překladů pro oba + procesy a použít nastavení pro tyto procesy pomocí omezení.

help_title: Co je to překladová sada? + name_help_text: Zadejte popisný název pro překladovou sadu. title: Překladová sada index: - no_records_html:

Žádné sady překladů nejsou k dispozici.

Začněte přidáním překladu sady z tlačítka " %{button_name} ".

+ no_records_html:

Žádné sady překladů nejsou k dispozici.

+

Začněte přidáním překladu sady z tlačítka " %{button_name} + ".

new: create: Vytvořit title: Překladové sady @@ -95,32 +129,52 @@ cs: destroy: success: Překlad byl úspěšně odstraněn. edit: + help_html:

Překladový klíč je technickým odkazem na překlad, který + má být přeložen. Toto není termín, který chcete změnit, ale technický + klíč, který odkazuje na tento překlad.

Například pokud chcete + změnit termín "Procesy" v horním menu, byste použili klíč "decidim.menu.processes".

+

+ Přečtěte si více o Rails Internationalization.

help_title: Co je překladový klíč? save: Uložit - title: Překlad - help_html:

Překladový klíč je technickým odkazem na překlad, který má být přeložen. Toto není termín, který chcete změnit, ale technický klíč, který odkazuje na tento překlad.

Například pokud chcete změnit termín "Procesy" v horním menu, byste použili klíč "decidim.menu.processes".

Přečtěte si více o Rails Internationalization.

- term_help_html: "

Nastavený termín je poslední slovo, které se chcete objevit v uživatelském rozhraní namísto původního výrazu. Přizpůsobený termín se samozřejmě může lišit pro každý povolený jazyk.

" + term_help_html: "

Nastavený termín je poslední slovo, které se chcete + objevit v uživatelském rozhraní namísto původního výrazu. Přizpůsobený + termín se samozřejmě může lišit pro každý povolený jazyk.

" term_help_title: Co je upravený termín? + title: Překlad import: error: Chyba při importu překladů success: Překlady byly úspěšně importovány. index: actions: Akce - no_records_html:

V této sadě nejsou k dispozici žádné překlady.

Začněte přidáním překladů do této sady. Nejjednodušším způsobem je použít tlačítko " %{button_name} ", kde můžete vyhledávat překlady se stejnými termíny, jaké vidíte v uživatelském rozhraní.

+ no_records_html:

V této sadě nejsou k dispozici žádné + překlady.

Začněte přidáním překladů do této + sady. Nejjednodušším způsobem je použít tlačítko " %{button_name} + ", kde můžete vyhledávat překlady se stejnými termíny, jaké vidíte + v uživatelském rozhraní.

selected: vybráno new: create: Vytvořit - title: Překlad - help_html:

Překladový klíč je technickým odkazem na překlad, který má být přeložen. Toto není termín, který chcete změnit, ale technický klíč, který odkazuje na tento překlad.

Například pokud chcete změnit termín "Procesy" v horním menu, byste použili klíč "decidim.menu.processes".

Přečtěte si více o Rails Internationalization.

+ help_html:

Překladový klíč je technickým odkazem na překlad, který + má být přeložen. Toto není termín, který chcete změnit, ale technický + klíč, který odkazuje na tento překlad.

Například pokud chcete + změnit termín "Procesy" v horním menu, byste použili klíč "decidim.menu.processes".

+

+ Přečtěte si více o Rails Internationalization.

help_title: Co je překladový klíč? - term_help_html: "

Nastavený termín je poslední slovo, které se chcete objevit v uživatelském rozhraní namísto původního výrazu. Přizpůsobený termín se samozřejmě může lišit pro každý povolený jazyk.

" + term_help_html: "

Nastavený termín je poslední slovo, které se chcete + objevit v uživatelském rozhraní namísto původního výrazu. Přizpůsobený + termín se samozřejmě může lišit pro každý povolený jazyk.

" term_help_title: Co je upravený termín? + title: Překlad new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Přidat importovaný soubor, který bude zpracován pro překlady. Podporované formáty jsou: %{valid_mime_types}' + file_legend: 'Přidat importovaný soubor, který bude zpracován pro překlady. + Podporované formáty jsou: %{valid_mime_types}' start_import: Zahájit import title: Importovat překlady zip_hint: Můžete také nahrát ZIP soubor z exportu překladů. @@ -133,7 +187,8 @@ cs: success: Překlady byly úspěšně odstraněny. new: destroy: Vymazat + no_records_html:

V této sadě nejsou k dispozici žádné + překlady.

title: Odstranit překlady - no_records_html:

V této sadě nejsou k dispozici žádné překlady.

menu: term_customizer: Úprava termínů diff --git a/config/locales/de.yml b/config/locales/de.yml index 02d4e712..99a71030 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -18,36 +18,54 @@ de: translations_import: attributes: file: - invalid_mime_type: 'Ungültiger Dokumenttyp. Akzeptierte Formate sind: %{valid_mime_types}' + invalid_mime_type: 'Ungültiger Dokumenttyp. Akzeptierte Formate sind: + %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Übersetzungssets nach Name oder Übersetzungen + nach Schlüssel suchen term_customizer: admin: actions: add_multiple_translations: Mehrere hinzufügen back: Zurück cancel: Abbrechen - clear_cache: Cache leeren + clear_cache: Übersetzungen anwenden + clear_cache_confirm: Möchten Sie die Übersetzungen anwenden? Dadurch wird der Cache geleert und die Änderungen werden in der Anwendung sichtbar. confirm_duplicate: Sind Sie sicher, dass Sie dieses Set duplizieren möchten? duplicate: Duplizieren help: Hilfe import: Importieren - new_translation: Neue Übersetzung + new_translation: Manuelle Übersetzung new_translation_set: Neues Übersetzungsset title: Aktionen view: Anzeigen add_translations: index: add: Hinzufügen - help_html:

Geben Sie zuerst im Suchfeld ein paar Buchstaben des zu ändernden Begriffs ein. Warten Sie einige Sekunden bis eine Liste aller Übersetzungen unter dem Suchfeld angezeigt wird. Klicken Sie auf diejenigen Übersetzungen in dieser Liste, die Sie ändern möchten. Danach erscheinen sie unter dem Suchfeld auf der Liste der hinzuzufügenden Übersetzungen.

Sobald Sie alle zu ändernden Übersetzungen hinzugefügt haben, klicken Sie auf die Schaltfläche "%{button_name}" am unteren Bildschirmrand.

+ help_html:

Geben Sie zuerst im Suchfeld ein paar Buchstaben des zu + ändernden Begriffs ein. Warten Sie einige Sekunden bis eine Liste aller + Übersetzungen unter dem Suchfeld angezeigt wird. Klicken Sie auf diejenigen + Übersetzungen in dieser Liste, die Sie ändern möchten. Danach erscheinen + sie unter dem Suchfeld auf der Liste der hinzuzufügenden Übersetzungen.

+

Sobald Sie alle zu ändernden Übersetzungen hinzugefügt haben, klicken + Sie auf die Schaltfläche "%{button_name}" am unteren Bildschirmrand.

help_title: Wie sucht man nach Übersetzungen? search: Suchen caches: clear: - success: Cache wurde erfolgreich geleert + success: Übersetzungen erfolgreich angewendet models: translation_sets: + constraints: + global: Global fields: + constraints: Einschränkungen + keys: Schlüssel name: Name + total: Übersetzungen gesamt translations: fields: key: Übersetzungsschlüssel @@ -75,13 +93,34 @@ de: title: Übersetzungsset form: add_constraint: Einschränkung hinzufügen - constraint_help_html:

Einschränkungen sind Regeln, die Ihnen erlauben, Anpassungen eines Sets auf einen bestimmten Kontext anzuwenden.

Falls Sie keine Einschränkungsregeln definieren, werden die Anpassungen eines Sets auf die gesamte Plattform angewendet. Wenn Sie jedoch möchten, dass die Anpassungen eines Sets nur für einen bestimmten Prozess gelten sollen, dann wählen Sie als partizipativen Bereichstyp "Beteiligungsprozesse" und als partizipativen Bereich den Zielprozess aus. Sie können zusätzlich Anpassungen nur auf eine bestimmte Komponente anwenden, indem Sie die Komponente für die Einschränkung auswählen.

Wenn Sie mehrere Einschränkungen definieren, werden die Anpassungen auf alle angewendet.

+ constraint_help_html:

Einschränkungen sind Regeln, die Ihnen erlauben, + Anpassungen eines Sets auf einen bestimmten Kontext anzuwenden.

+

Falls Sie keine Einschränkungsregeln definieren, werden die Anpassungen + eines Sets auf die gesamte Plattform angewendet. Wenn Sie jedoch möchten, + dass die Anpassungen eines Sets nur für einen bestimmten Prozess gelten + sollen, dann wählen Sie als partizipativen Bereichstyp "Beteiligungsprozesse" + und als partizipativen Bereich den Zielprozess aus. Sie können zusätzlich + Anpassungen nur auf eine bestimmte Komponente anwenden, indem Sie die + Komponente für die Einschränkung auswählen.

Wenn Sie mehrere + Einschränkungen definieren, werden die Anpassungen auf alle angewendet.

constraint_help_title: Was sind Einschränkungen? - help_html:

Ein Übersetzungsset ist ein Behälter für Übersetzungen eines bestimmten Kontexts, den Sie anpassen möchten.

Übersetzungssets helfen Ihnen, Ihre Anpassungen zu organisieren und sie auf verschiedene Kontexte anzuwenden. So können Sie die gleiche Übersetzung in verschiedenen Kontexten unterschiedlich anpassen.

Wenn Sie zum Beispiel einen Button mit dem Begriff "Hinzufügen" für verschiedene Beteiligungsprozesse anders beschriften möchten, dann können Sie separate Übersetzungssets für beide Prozesse erstellen und sie unter Verwendung der Einschränkungen auf diese Prozesse anwenden.

+ help_html:

Ein Übersetzungsset ist ein Behälter für Übersetzungen eines + bestimmten Kontexts, den Sie anpassen möchten.

Übersetzungssets + helfen Ihnen, Ihre Anpassungen zu organisieren und sie auf verschiedene + Kontexte anzuwenden. So können Sie die gleiche Übersetzung in verschiedenen + Kontexten unterschiedlich anpassen.

Wenn Sie zum Beispiel einen + Button mit dem Begriff "Hinzufügen" für verschiedene Beteiligungsprozesse + anders beschriften möchten, dann können Sie separate Übersetzungssets + für beide Prozesse erstellen und sie unter Verwendung der Einschränkungen + auf diese Prozesse anwenden.

help_title: Was ist ein Übersetzungsset? + name_help_text: Geben Sie einen beschreibenden Titel für das Übersetzungsset + ein. title: Übersetzungsset index: - no_records_html:

Keine Übersetzungssets verfügbar.

Beginnen Sie, indem Sie ein Übersetzungsset mit einem Klick auf "%{button_name}" hinzufügen.

+ no_records_html:

Keine Übersetzungssets verfügbar.

+

Beginnen Sie, indem Sie ein Übersetzungsset mit + einem Klick auf "%{button_name}" hinzufügen.

new: create: Erstellen title: Übersetzungssets @@ -95,32 +134,57 @@ de: destroy: success: Übersetzung erfolgreich gelöscht. edit: + help_html:

Ein Übersetzungsschlüssel ist ein technischer Verweis auf + die zu anzupassende Übersetzung. Es ist nicht der Begriff selbst, den + Sie ändern wollen, sondern der technische Schlüssel, der sich auf diese + Übersetzung bezieht.

Zum Beispiel, wenn Sie den Begriff "Prozess" + im oberen Menü ändern möchten, verwenden Sie dazu den Schlüssel "decidim.menu.processes".

+

+ Hier finden Sie weitere Informationen über die Internationalisierung + bei Rails.

help_title: Was ist Übersetzungsschlüssel? save: Speichern - title: Übersetzung - help_html:

Ein Übersetzungsschlüssel ist ein technischer Verweis auf die zu anzupassende Übersetzung. Es ist nicht der Begriff selbst, den Sie ändern wollen, sondern der technische Schlüssel, der sich auf diese Übersetzung bezieht.

Zum Beispiel, wenn Sie den Begriff "Prozess" im oberen Menü ändern möchten, verwenden Sie dazu den Schlüssel "decidim.menu.processes".

Hier finden Sie weitere Informationen über die Internationalisierung bei Rails.

- term_help_html: "

Der angepasste Begriff ist das Wort, das Sie auf der Benutzeroberfläche, anstelle des ursprünglichen Begriffs, anzeigen lassen möchten. Selbstverständlich kann der angepasste Begriff für jede aktivierte Sprache unterschiedlich sein.

" + term_help_html: "

Der angepasste Begriff ist das Wort, das Sie auf der + Benutzeroberfläche, anstelle des ursprünglichen Begriffs, anzeigen lassen + möchten. Selbstverständlich kann der angepasste Begriff für jede aktivierte + Sprache unterschiedlich sein.

" term_help_title: Was ist ein angepasster Begriff? + title: Übersetzung import: error: Fehler beim Importieren der Übersetzungen success: Übersetzungen erfolgreich importiert. index: actions: Aktionen - no_records_html:

In diesem Set sind keine Übersetzungen verfügbar.

Fügen Sie Übersetzungen zu diesem Set hinzu. Der einfachste Weg ist, auf "%{button_name}" zu klicken, wo Sie Übersetzungen mit den gleichen Begriffen durchsuchen können, welche Sie gleich in der Benutzeroberfläche sehen können.

+ no_records_html:

In diesem Set sind keine Übersetzungen + verfügbar.

Fügen Sie Übersetzungen zu diesem + Set hinzu. Der einfachste Weg ist, auf "%{button_name}" + zu klicken, wo Sie Übersetzungen mit den gleichen Begriffen durchsuchen + können, welche Sie gleich in der Benutzeroberfläche sehen können.

selected: ausgewählt new: create: Erstellen - title: Übersetzung - help_html:

Ein Übersetzungsschlüssel ist ein technischer Verweis auf die zu anzupassende Übersetzung. Es ist nicht der Begriff selbst, den Sie ändern wollen, sondern der technische Schlüssel, der sich auf diese Übersetzung bezieht.

Zum Beispiel, wenn Sie den Begriff "Prozess" im oberen Menü ändern möchten, verwenden Sie dazu den Schlüssel "decidim.menu.processes".

Hier finden Sie weitere Informationen über die Internationalisierung bei Rails.

+ help_html:

Ein Übersetzungsschlüssel ist ein technischer Verweis auf + die zu anzupassende Übersetzung. Es ist nicht der Begriff selbst, den + Sie ändern wollen, sondern der technische Schlüssel, der sich auf diese + Übersetzung bezieht.

Zum Beispiel, wenn Sie den Begriff "Prozess" + im oberen Menü ändern möchten, verwenden Sie dazu den Schlüssel "decidim.menu.processes".

+

+ Hier finden Sie weitere Informationen über die Internationalisierung + bei Rails.

help_title: Was ist Übersetzungsschlüssel? - term_help_html: "

Der angepasste Begriff ist das Wort, das Sie auf der Benutzeroberfläche, anstelle des ursprünglichen Begriffs, anzeigen lassen möchten. Selbstverständlich kann der angepasste Begriff für jede aktivierte Sprache unterschiedlich sein.

" + term_help_html: "

Der angepasste Begriff ist das Wort, das Sie auf der + Benutzeroberfläche, anstelle des ursprünglichen Begriffs, anzeigen lassen + möchten. Selbstverständlich kann der angepasste Begriff für jede aktivierte + Sprache unterschiedlich sein.

" term_help_title: Was ist ein angepasster Begriff? + title: Übersetzung new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Fügen Sie eine Importdatei hinzu, die für Übersetzungen durchsucht wird. Unterstützte Formate sind: %{valid_mime_types}' + file_legend: 'Fügen Sie eine Importdatei hinzu, die für Übersetzungen + durchsucht wird. Unterstützte Formate sind: %{valid_mime_types}' start_import: Import starten title: Übersetzungen importieren zip_hint: Sie können auch die ZIP-Datei aus dem Übersetzungsexport hochladen. @@ -133,7 +197,8 @@ de: success: Übersetzungen erfolgreich gelöscht. new: destroy: Löschen + no_records_html:

Keine Übersetzungen in diesem Set + vorhanden.

title: Übersetzungen löschen - no_records_html:

Keine Übersetzungen in diesem Set vorhanden.

menu: term_customizer: Begriffsanpasser diff --git a/config/locales/en.yml b/config/locales/en.yml index 068ce946..f66a53d1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -20,18 +20,25 @@ en: file: invalid_mime_type: 'Invalid file type. Accepted formats are: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Search translation + sets by name or translations by key or value term_customizer: admin: actions: add_multiple_translations: Add multiple back: Back cancel: Cancel - clear_cache: Clear cache + clear_cache: Apply translations + clear_cache_confirm: Do you want to apply the translations? This will clear + the cache and the changes will be visible in the application. confirm_duplicate: Are you sure you want to duplicate this set? duplicate: Duplicate help: Help import: Import - new_translation: New translation + new_translation: Manual translation new_translation_set: New translation set title: Actions view: View @@ -50,11 +57,16 @@ en: search: Search caches: clear: - success: Cache cleared successfully + success: Translations applied successfully models: translation_sets: + constraints: + global: Global fields: + constraints: Constraints + keys: Keys name: Name + total: Total translations translations: fields: key: Translation key @@ -102,11 +114,12 @@ en: processes, you can create separate translation sets for both processes and apply the set to those processes using the constraints.

help_title: What is a translation set? + name_help_text: Enter a descriptive title for the translation set. title: Translation set index: - no_records_html:

No translation sets available.

Start by adding - a translation set from the " - %{button_name} + no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

new: create: Create @@ -121,33 +134,32 @@ en: destroy: success: Translation successfully deleted. edit: - help_title: What is translation key? - save: Save - title: Translation help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_title: What is translation key? + save: Save term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation import: error: Error importing translations success: Translations successfully imported. index: actions: Actions - no_records_html:

No translations available in this set.

Start - by adding translations to this set. The easiest way is to use the " - %{button_name} - " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selected new: create: Create - title: Translations help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if @@ -179,7 +191,8 @@ en: success: Translations successfully deleted. new: destroy: Delete + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/config/locales/es.yml b/config/locales/es.yml index aaf1251a..95563a96 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -18,36 +18,54 @@ es: translations_import: attributes: file: - invalid_mime_type: 'Tipo de documento no válido. Los formatos aceptados son: %{valid_mime_types}' + invalid_mime_type: 'Tipo de documento no válido. Los formatos aceptados + son: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Buscar conjuntos de traducciones por nombre o traducciones por clave o valor term_customizer: admin: actions: add_multiple_translations: Agregar varios back: Volver cancel: Cancelar - clear_cache: Limpiar cache - confirm_duplicate: '¿Está seguro de que quiere duplicar este conjunto?' + clear_cache: Aplicar traducciones + clear_cache_confirm: ¿Está seguro de que quiere aplicar las traducciones? Esto vaciará la caché y los cambios serán visibles en la aplicación. + confirm_duplicate: "¿Está seguro de que quiere duplicar este conjunto?" duplicate: Duplicar help: Ayuda import: Importar - new_translation: Nueva traducción + new_translation: Traducción manual new_translation_set: Nuevo grupo de traducciones title: Actions view: Ver add_translations: index: add: Añadir - help_html:

Empiece escribiendo un par de letras que aparecen en la palabra(s) que desea cambiar en el panel de búsqueda. Espere unos segundos y se mostrará una lista de todas las traducciones que coincidan con su búsqueda debajo del campo de búsqueda. Haga clic en las traducciones de esa lista que desea cambiar. Aparecerán debajo del campo de búsqueda en la lista de traducciones que se agregarán.

Una vez que haya agregado todas las traducciones que desea cambiar, haga clic en el botón "%{button_name}" en la parte inferior de la pantalla.

- help_title: '¿Cómo buscar traducciones?' + help_html:

Empiece escribiendo un par de letras que aparecen en la + palabra(s) que desea cambiar en el panel de búsqueda. Espere unos segundos + y se mostrará una lista de todas las traducciones que coincidan con + su búsqueda debajo del campo de búsqueda. Haga clic en las traducciones + de esa lista que desea cambiar. Aparecerán debajo del campo de búsqueda + en la lista de traducciones que se agregarán.

Una vez que haya + agregado todas las traducciones que desea cambiar, haga clic en el botón + "%{button_name}" en la parte inferior de la pantalla.

+ help_title: "¿Cómo buscar traducciones?" search: Buscar caches: clear: - success: Cache cleared successfully + success: Traducciones aplicadas correctamente models: translation_sets: + constraints: + global: Global fields: + constraints: Restricciones + keys: Claves name: Nombre + total: Total de traducciones translations: fields: key: Llave de traducción @@ -75,13 +93,34 @@ es: title: Grupo de traducciones form: add_constraint: Agregar ámbito - constraint_help_html:

La segmentación son reglas específicas que le permiten aplicar las personalizaciones del conjunto a un contexto específico.

En caso de que no defina ninguna regla de restricción, las personalizaciones en este conjunto se aplicarán a toda la aplicación . Por otro lado, si desea que las personalizaciones de este conjunto se apliquen solo a un proceso específico, seleccione "Procesos participativos" como tipo de espacio participativo y el proceso objetivo como espacio participativo. Además, también puede aplicar las personalizaciones a un componente específico definiendo el componente para la restricción.

Si define varias segmentaciones, las personalizaciones se aplicarán solo a ellas.

- constraint_help_title: '¿Qué es la segmentación?' - help_html:

Un conjunto de traducción es un "contenedor" que contiene las traducciones para un contexto específico que desea personalizar.

Los conjuntos de traducción lo ayudan a organizar sus personalizaciones y aplicarlas a diferentes contextos. Esto le permite personalizar la misma traducción de manera diferente en diferentes contextos.

Por ejemplo, si desea personalizar un botón con el término "Agregar" de manera diferente para diferentes procesos participativos, puede crear conjuntos de traducción separados para ambos procesos. Y aplicar el conjunto a esos procesos usando la segmentación.

- help_title: '¿Qué es un conjunto de traducciones?' + constraint_help_html:

La segmentación son reglas específicas que le + permiten aplicar las personalizaciones del conjunto a un contexto específico.

+

En caso de que no defina ninguna regla de restricción, las personalizaciones + en este conjunto se aplicarán a toda la aplicación . Por otro lado, + si desea que las personalizaciones de este conjunto se apliquen solo + a un proceso específico, seleccione "Procesos participativos" como tipo + de espacio participativo y el proceso objetivo como espacio participativo. + Además, también puede aplicar las personalizaciones a un componente + específico definiendo el componente para la restricción.

Si define + varias segmentaciones, las personalizaciones se aplicarán solo a ellas.

+ constraint_help_title: "¿Qué es la segmentación?" + help_html:

Un conjunto de traducción es un "contenedor" que contiene + las traducciones para un contexto específico que desea personalizar.

+

Los conjuntos de traducción lo ayudan a organizar sus personalizaciones + y aplicarlas a diferentes contextos. Esto le permite personalizar la + misma traducción de manera diferente en diferentes contextos.

Por + ejemplo, si desea personalizar un botón con el término "Agregar" de + manera diferente para diferentes procesos participativos, puede crear + conjuntos de traducción separados para ambos procesos. Y aplicar el + conjunto a esos procesos usando la segmentación.

+ help_title: "¿Qué es un conjunto de traducciones?" + name_help_text: Ingrese un título descriptivo para el conjunto de traducciones. title: Grupo de traducciones index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Crear title: Grupo de traducciones @@ -95,35 +134,55 @@ es: destroy: success: Traducción eliminada exitosamente. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Guardar - title: Traducción - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Traducción import: error: Error importando archivos de traducción success: Éxito importando archivos de traducción. index: actions: Acciones - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: seleccionadas new: create: Crear - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Agregue un archivo de importación que se analizará para las traducciones. Los formatos admitidos son: %{valid_mime_types}' + file_legend: 'Agregue un archivo de importación que se analizará para + las traducciones. Los formatos admitidos son: %{valid_mime_types}' start_import: Iniciar importación title: Importar traducciones - zip_hint: También puede cargar el archivo ZIP desde la exportación de traducciones. + zip_hint: También puede cargar el archivo ZIP desde la exportación de + traducciones. update: error: Error actualizando la traducción. success: Traducción actualizada exitosamente. @@ -133,7 +192,8 @@ es: success: Traducción eliminada con éxito. new: destroy: Borrar + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Personalización de términos diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 1f8f5ea2..f541c57d 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -18,36 +18,53 @@ eu: translations_import: attributes: file: - invalid_mime_type: 'Fitxategi mota baliogabea. Onartutako formatuak hauek dira: %{valid_mime_types}' + invalid_mime_type: 'Fitxategi mota baliogabea. Onartutako formatuak + hauek dira: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Bilatu itzulpen-multzoak izenaren + arabera edo itzulpenak gakoen arabera term_customizer: admin: actions: add_multiple_translations: Itzulpen anitz gehitu back: Itzuli cancel: Ezeztatu - clear_cache: Katxea garbitu + clear_cache: Itzulpenak aplikatu confirm_duplicate: Ziur zaude multzo hau bikoiztu nahi duzula? duplicate: Bikoiztu help: Laguntza import: Inportatu - new_translation: Intzulpen berria + new_translation: Eskuzko itzulpena new_translation_set: Itzulpen multzo berria title: Ekintzak view: Ikusi add_translations: index: add: Gehitu - help_html:

Hasteko, idatzi hizki pare bat bilaketa-panelean aldatu nahi duzun terminoan. Itxaron segundo batzuk eta zure bilaketarekin bat datozen itzulpen guztien zerrenda bat agertuko da bilaketa-eremuaren azpian. Egin klik aldatu nahi duzun zerrenda horretako itzulpenetan.

Gehitu nahi duzun itzulpenen zerrendako bilaketa-eremuaren azpian agertuko dira. Aldatu nahi dituzun itzulpen guztiak gehitu ondoren, sakatu pantailaren beheko aldean dagoen " %{button_name}" botoian.

+ help_html:

Hasteko, idatzi hizki pare bat bilaketa-panelean aldatu + nahi duzun terminoan. Itxaron segundo batzuk eta zure bilaketarekin + bat datozen itzulpen guztien zerrenda bat agertuko da bilaketa-eremuaren + azpian. Egin klik aldatu nahi duzun zerrenda horretako itzulpenetan.

+

Gehitu nahi duzun itzulpenen zerrendako bilaketa-eremuaren azpian + agertuko dira. Aldatu nahi dituzun itzulpen guztiak gehitu ondoren, + sakatu pantailaren beheko aldean dagoen " %{button_name}" botoian.

help_title: Nola bilatu itzulpenak? search: Bilatu caches: clear: - success: Katxea behar bezala garbitu da + success: Itzulpenak behar bezala aplikatu dira models: translation_sets: + constraints: + global: Global fields: + constraints: Murrizketak + keys: Gakoak name: Izena + total: Itzulpen guztira translations: fields: key: Itzulpen gakoa @@ -67,7 +84,7 @@ eu: destroy: success: Itzulpengintza multzoa behar bezala ezabatu da. duplicate: - copied_set_name: '%{name} terminoaren kopia' + copied_set_name: "%{name} terminoaren kopia" error: Akats bat izan da itzulpengintza multzoa sortzean. success: Itzulpengintza multzoa behar bezala ezabatu da. edit: @@ -75,13 +92,32 @@ eu: title: Itzulpen multzoa form: add_constraint: Murrizketa gehitu - constraint_help_html:

Mugak arau espezifikoak dira, eta aukera ematen dute pertsonalizazioak testuinguru jakin batean aplikatzeko.

Ez bada mugapen-araurik zehazten, aplikazio osoan aplikatuko dira multzo horretako pertsonalizazioak. Bestalde, multzo horretako pertsonalizazioak prozesu jakin batean bakarrik aplikatzea nahi bada, aukeratu "Partaidetza-prozesuak", partaidetza-espazio gisa, eta helburu-prozesu gisa, partaidetza-espazio gisa.

Gainera, pertsonalizazioak ere aplika daitezke osagai zehatz batean, mugapen-osagaia definituz. Muga anitzak definituz gero, horiek guztiak aplikatuko dira.

+ constraint_help_html:

Mugak arau espezifikoak dira, eta aukera ematen + dute pertsonalizazioak testuinguru jakin batean aplikatzeko.

Ez + bada mugapen-araurik zehazten, aplikazio osoan aplikatuko dira multzo + horretako pertsonalizazioak. Bestalde, multzo horretako pertsonalizazioak + prozesu jakin batean bakarrik aplikatzea nahi bada, aukeratu "Partaidetza-prozesuak", + partaidetza-espazio gisa, eta helburu-prozesu gisa, partaidetza-espazio + gisa.

Gainera, pertsonalizazioak ere aplika daitezke osagai zehatz + batean, mugapen-osagaia definituz. Muga anitzak definituz gero, horiek + guztiak aplikatuko dira.

constraint_help_title: Zer dira murrizketak? - help_html:

Itzulpen-multzo bat "edukitzailea" da, eta itzulpenak pertsonalizatu nahi diren testuinguru jakin baterako gordetzen ditu.

Itzulpen-multzoek zure pertsonalizazioak antolatzen eta testuinguru desberdinetan aplikatzen laguntzen dizute. Horrek aukera ematen dizu itzulpen bera testuinguru desberdinetan pertsonalizatzeko.

Adibidez, "Gehitu" terminoa duen botoi bat pertsonalizatu nahi baduzu, prozesu parte-hartzaile desberdinetarako, itzulpen-multzo bereiziak sor ditzakezu bi prozesuetarako, eta prozesu horietarako multzoa aplikatu, mugak erabiliz.

+ help_html:

Itzulpen-multzo bat "edukitzailea" da, eta itzulpenak pertsonalizatu + nahi diren testuinguru jakin baterako gordetzen ditu.

Itzulpen-multzoek + zure pertsonalizazioak antolatzen eta testuinguru desberdinetan aplikatzen + laguntzen dizute. Horrek aukera ematen dizu itzulpen bera testuinguru + desberdinetan pertsonalizatzeko.

Adibidez, "Gehitu" terminoa duen + botoi bat pertsonalizatu nahi baduzu, prozesu parte-hartzaile desberdinetarako, + itzulpen-multzo bereiziak sor ditzakezu bi prozesuetarako, eta prozesu + horietarako multzoa aplikatu, mugak erabiliz.

help_title: Zer da itzulpen multzo bat? + name_help_text: Sartu itzulpen-multzoaren deskribapen-izenburua. title: Itzulpen multzoa index: - no_records_html:

Ez dago itzulpen-multzorik eskuragarri.

Hasi itzulpen-multzo bat gehitzen « %{button_name} » botoitik.

+ no_records_html:

Ez dago itzulpen-multzorik eskuragarri.

+

Hasi itzulpen-multzo bat gehitzen « %{button_name} » + botoitik.

new: create: Sortu title: Itzulpen multzoak @@ -95,32 +131,52 @@ eu: destroy: success: Itzulpena behar bezala ezabatu da. edit: + help_html:

Itzulpen-gako bat itzuli beharreko itzulpenaren erreferentzia + tekniko bat da. Ez da terminoa aldatu nahi dena, itzulpen horri erreferentzia + egiten dion gako teknikoa baizik.

Adibidez, goiko menuan «Prozesuak» + terminoa aldatu nahi bada, «decidim.menu.processes» gakoa erabiliko + da.

+ Railen nazioartekotzeari buruzko informazio gehiago

.

help_title: Zer da itzulpen gako bat? save: Gorde - title: Itzulpena - help_html:

Itzulpen-gako bat itzuli beharreko itzulpenaren erreferentzia tekniko bat da. Ez da terminoa aldatu nahi dena, itzulpen horri erreferentzia egiten dion gako teknikoa baizik.

Adibidez, goiko menuan «Prozesuak» terminoa aldatu nahi bada, «decidim.menu.processes» gakoa erabiliko da.

Railen nazioartekotzeari buruzko informazio gehiago

.

- term_help_html: "

Termino pertsonalizatua da UIn agertu nahi duzun azken hitza, jatorrizko terminoaren ordez. Bistan denez, termino pertsonalizatua desberdina izan daiteke gaitutako hizkuntza bakoitzeko.

" + term_help_html: "

Termino pertsonalizatua da UIn agertu nahi duzun azken + hitza, jatorrizko terminoaren ordez. Bistan denez, termino pertsonalizatua + desberdina izan daiteke gaitutako hizkuntza bakoitzeko.

" term_help_title: Zer da pertsonalizatutako terminoa? + title: Itzulpena import: error: Itzulpengintza multzoa sortzean errorea success: Itzulpenaak behar bezala inportatu dira. index: actions: Ekintzak - no_records_html:

Multzo honetan ez dago itzulpenik eskuragarri.

Multzo honi itzulpenak gehituz hasten da. Modurik errazena da « %{button_name} botoia erabiltzea. Botoi horren bidez, erabiltzaile-interfazean ikusten dituzun termino berak dituzten itzulpenak bila ditzakezu

+ no_records_html:

Multzo honetan ez dago itzulpenik eskuragarri.

+

Multzo honi itzulpenak gehituz hasten da. Modurik + errazena da « %{button_name} botoia erabiltzea. Botoi horren + bidez, erabiltzaile-interfazean ikusten dituzun termino berak dituzten + itzulpenak bila ditzakezu

selected: hautatua new: create: Sortu - title: Itzulpena - help_html:

Itzulpen-gako bat itzuli beharreko itzulpenaren erreferentzia teknikoa da.

Ez da aldatu nahi duzun terminoa, itzulpen horri dagokion gako teknikoa baizik.

Adibidez, "Prozesuak" terminoa goiko menuan aldatu nahi baduzu, "decidim.menu.processes" tekla erabiliko zenuke.

Nazioartekotzeko errailei buruz gehiago irakurri

.

+ help_html:

Itzulpen-gako bat itzuli beharreko itzulpenaren erreferentzia + teknikoa da.

Ez da aldatu nahi duzun terminoa, itzulpen horri dagokion + gako teknikoa baizik.

Adibidez, "Prozesuak" terminoa + goiko menuan aldatu nahi baduzu, "decidim.menu.processes" tekla + erabiliko zenuke.

Nazioartekotzeko errailei buruz gehiago irakurri

.

help_title: Zein da itzulpenaren gakoa? - term_help_html: "

Termino pertsonalizatua da UIn agertu nahi duzun azken hitza, jatorrizko terminoaren ordez. Bistan denez, termino pertsonalizatua desberdina izan daiteke gaitutako hizkuntza bakoitzeko.

" + term_help_html: "

Termino pertsonalizatua da UIn agertu nahi duzun azken + hitza, jatorrizko terminoaren ordez. Bistan denez, termino pertsonalizatua + desberdina izan daiteke gaitutako hizkuntza bakoitzeko.

" term_help_title: Zer da pertsonalizatutako terminoa? + title: Itzulpena new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLS - file_legend: 'Itzulpenak lortzeko inportazio fitxategi bat gehi daiteke. Hona hemen, onartutako formatuak:%{valid_mime_types}' + file_legend: Itzulpenak lortzeko inportazio fitxategi bat gehi daiteke. + Hona hemen, onartutako formatuak:%{valid_mime_types} start_import: Inportazioa hasi title: Itzulpenak inportatu zip_hint: Itzulpengintzen esportaziotik ZIP fitxategia ere igo dezakezu. @@ -133,7 +189,8 @@ eu: success: Itzulpenaak behar bezala ezabatu dira. new: destroy: Ezabatu + no_records_html:

Ez dago itzulpenik eskuragarri multzo + honetan

title: Itzulpenak ezabatu - no_records_html:

Ez dago itzulpenik eskuragarri multzo honetan

menu: term_customizer: Terminoen pertsonalizatzailea diff --git a/config/locales/fi.yml b/config/locales/fi.yml index 39b18a22..71962faa 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -18,36 +18,49 @@ fi: translations_import: attributes: file: - invalid_mime_type: 'Virheellinen tiedostotyyppi. Hyväksytyt tiedostomuodot ovat: %{valid_mime_types}' + invalid_mime_type: 'Virheellinen tiedostotyyppi. Hyväksytyt tiedostomuodot + ovat: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Hae käännöspaketteja nimellä tai käännöksiä + avaimella term_customizer: admin: actions: add_multiple_translations: Lisää useita back: Takaisin cancel: Peruuta - clear_cache: Tyhjennä välimuisti + clear_cache: Ota käännökset käyttöön confirm_duplicate: Haluatko varmasti kopioida tämän paketin? duplicate: Kopioi help: Ohjeet import: Tuo - new_translation: Uusi käännös + new_translation: Manuaalinen käännös new_translation_set: Uusi käännöspaketti title: Toiminnot view: Näytä add_translations: index: add: Lisää - help_html: "

Aloita kirjoittamalla muutama ensimmäinen kirjain, jotka esiintyvät termissä, jonka haluat muuttaa. Odota muutama sekunti, niin hakukentän alle ilmestyy lista kaikista termeistä, joista kirjoittamasi hakutermi löytyy. Valitse listasta klikkaamalla ne termit, joita haluat muuttaa. Ne ilmestyvät hakukentän alle lisättävien termien listaan.

\n

Kun olet lisännyt kaikki termit, jotka haluat muuttaa, klikkaa listan alla olevaa \"%{button_name}\" -painiketta ruudun alalaidasta.

" + help_html: |- +

Aloita kirjoittamalla muutama ensimmäinen kirjain, jotka esiintyvät termissä, jonka haluat muuttaa. Odota muutama sekunti, niin hakukentän alle ilmestyy lista kaikista termeistä, joista kirjoittamasi hakutermi löytyy. Valitse listasta klikkaamalla ne termit, joita haluat muuttaa. Ne ilmestyvät hakukentän alle lisättävien termien listaan.

+

Kun olet lisännyt kaikki termit, jotka haluat muuttaa, klikkaa listan alla olevaa "%{button_name}" -painiketta ruudun alalaidasta.

help_title: Kuinka käännöksiä etsitään? search: Hae caches: clear: - success: Välimuistin tyhjennys onnistui + success: Käännökset otettu käyttöön onnistuneesti models: translation_sets: + constraints: + global: Globaali fields: + constraints: Rajausäännöt + keys: Avaimet name: Nimi + total: Käännöksiä yhteensä translations: fields: key: Käännösavain @@ -75,13 +88,33 @@ fi: title: Käännöspaketti form: add_constraint: Lisää rajaussääntö - constraint_help_html:

Rajaussääntöjen avulla voit rajata käännöspaketin muutokset ainoastaan tiettyyn kontekstiin sivustolla.

Mikäli et määritä mitään sääntöjä, tämän käännöspaketin termimuutokset tulevat käyttöön koko sovellukseen. Toisaalta, jos haluat rajata tämän käännöspaketin muutokset ainoastaan tiettyyn prosessiin, valitse "Osallistumisprosessit" osallistumistilaksi ja määritä haluamasi prosessi osallistumistila-kenttään. Voit myös liittää muutokset ainoastaan tiettyyn komponenttiin määrittämällä kyseisen komponentin komponentti-kenttään.

Jos määrität useita rajaussääntöjä, termimuutoksia käytetään kaikkialla, jos jokin kyseisistä säännöistä pätee.

+ constraint_help_html:

Rajaussääntöjen avulla voit rajata käännöspaketin + muutokset ainoastaan tiettyyn kontekstiin sivustolla.

Mikäli et + määritä mitään sääntöjä, tämän käännöspaketin termimuutokset tulevat + käyttöön koko sovellukseen. Toisaalta, jos haluat rajata tämän käännöspaketin + muutokset ainoastaan tiettyyn prosessiin, valitse "Osallistumisprosessit" + osallistumistilaksi ja määritä haluamasi prosessi osallistumistila-kenttään. + Voit myös liittää muutokset ainoastaan tiettyyn komponenttiin määrittämällä + kyseisen komponentin komponentti-kenttään.

Jos määrität useita + rajaussääntöjä, termimuutoksia käytetään kaikkialla, jos jokin kyseisistä + säännöistä pätee.

constraint_help_title: Mitä ovat rajaussäännöt? - help_html:

Käännöspaketti, on "paketti", joka sisältää käännöksiä tietylle kontekstille, jonka termejä haluat muuttaa.

Käännöspaketit auttavat sinua pitämään muutoksesi järjestyksessä ja rajaamaan niitä tiettyihin konteksteihin. Tämä mahdollistaa sen, että voit esimerkiksi muuttaa saman termin eri tavalla sivuston eri paikoissa.

Mikäli haluat esimerkiski muuttaa "Lisää" -painikkeen tekstin erilaiseksi eri prosesseille, voit luoda kaksi erillistä käännöspakettia molempia prosesseja varten. Molemmat paketit rajataan kyseisiin prosesseihin rajaussääntöjen avulla.

+ help_html:

Käännöspaketti, on "paketti", joka sisältää käännöksiä tietylle + kontekstille, jonka termejä haluat muuttaa.

Käännöspaketit auttavat + sinua pitämään muutoksesi järjestyksessä ja rajaamaan niitä tiettyihin + konteksteihin. Tämä mahdollistaa sen, että voit esimerkiksi muuttaa + saman termin eri tavalla sivuston eri paikoissa.

Mikäli haluat + esimerkiski muuttaa "Lisää" -painikkeen tekstin erilaiseksi eri prosesseille, + voit luoda kaksi erillistä käännöspakettia molempia prosesseja varten. + Molemmat paketit rajataan kyseisiin prosesseihin rajaussääntöjen avulla.

help_title: Mikä on käännöspaketti? + name_help_text: Anna käännöspakettia kuvaava nimi. title: Käännöspaketti index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Luo title: Käännöspaketit @@ -95,35 +128,55 @@ fi: destroy: success: Käännöksen poisto onnistui. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Tallenna - title: Käännös - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Käännös import: error: Käännösten tuonti epäonnistui success: Käännösten tuonti onnistui. index: actions: Toiminnot - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: valittu new: create: Luo - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Lisää tiedosto, josta käännöksiä tuodaan. Hyväksytyt tiedostomuodot ovat: %{valid_mime_types}' + file_legend: 'Lisää tiedosto, josta käännöksiä tuodaan. Hyväksytyt tiedostomuodot + ovat: %{valid_mime_types}' start_import: Aloita tuonti title: Tuo käännöksiä - zip_hint: Voit myös ladata ZIP-tiedoston, jonka olet luonut käännösten vientitoiminnolla. + zip_hint: Voit myös ladata ZIP-tiedoston, jonka olet luonut käännösten + vientitoiminnolla. update: error: Käännöksen päivitys epäonnistui. success: Käännöksen päivitys onnistui. @@ -133,7 +186,8 @@ fi: success: Käännösten poistaminen onnistui. new: destroy: Poista + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Termien muutokset diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 5f95aa3b..5c420e6f 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -18,36 +18,55 @@ fr: translations_import: attributes: file: - invalid_mime_type: 'Type de document invalide. Les formats acceptés sont: %{valid_mime_types}' + invalid_mime_type: 'Type de document invalide. Les formats acceptés + sont: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Rechercher des jeux de traductions par nom ou des traductions par clé ou valeur term_customizer: admin: actions: add_multiple_translations: Ajouter plusieurs back: Retour cancel: Annuler - clear_cache: Purger le cache + clear_cache: Appliquer les traductions + clear_cache_confirm: Voulez-vous appliquer les traductions ? Cela videra le cache et les changements seront visibles dans l'application. confirm_duplicate: Êtes-vous sûr de vouloir dupliquer cet ensemble ? duplicate: Dupliquer help: Aide import: Importer - new_translation: Nouvelle traduction + new_translation: Traduction manuelle new_translation_set: Nouveau jeu de traduction title: Actions view: Afficher add_translations: index: add: Ajouter - help_html:

Commencez par taper quelques lettres apparaissant dans le terme que vous souhaitez modifier dans le panneau de recherche. Attendez quelques secondes et une liste de toutes les traductions correspondant à votre recherche sera affichée sous le champ de recherche. Cliquez sur les traductions dans cette liste que vous souhaitez modifier. Elles apparaîtront sous le champ de recherche dans la liste des traductions à ajouter.

Une fois que vous avez ajouté toutes les traductions que vous voulez modifier, cliquez sur le bouton "%{button_name}" en bas de l'écran.

+ help_html:

Commencez par taper quelques lettres apparaissant dans le + terme que vous souhaitez modifier dans le panneau de recherche. Attendez + quelques secondes et une liste de toutes les traductions correspondant + à votre recherche sera affichée sous le champ de recherche. Cliquez + sur les traductions dans cette liste que vous souhaitez modifier. Elles + apparaîtront sous le champ de recherche dans la liste des traductions + à ajouter.

Une fois que vous avez ajouté toutes les traductions + que vous voulez modifier, cliquez sur le bouton "%{button_name}" en + bas de l'écran.

help_title: Comment rechercher des traductions ? search: Rechercher caches: clear: - success: Cache purgé avec succès + success: Traductions appliquées avec succès models: translation_sets: + constraints: + global: Global fields: + constraints: Contraintes + keys: Clés name: Nom + total: Total des traductions translations: fields: key: Clé de traduction @@ -75,13 +94,34 @@ fr: title: Jeu de traductions form: add_constraint: Ajouter contrainte - constraint_help_html:

Les contraintes sont des règles spécifiques qui vous permettent d'appliquer les personnalisations dans un ensemble à un contexte spécifique.

Si vous ne définissez aucune règle de contrainte, les personnalisations de cet ensemble s'appliqueront à l'ensemble de l'application. Par contre, si vous voulez que les personnalisations de cet ensemble s'appliquent uniquement à un processus spécifique, sélectionnez "Processus participatifs" comme type d'espace participatif et le processus cible comme espace participatif. De plus, vous pouvez également appliquer les personnalisations à un composant spécifique en définissant le composant de la contrainte.

Si vous définissez plusieurs contraintes, les personnalisations s'appliqueront à tous ceux-ci.

+ constraint_help_html:

Les contraintes sont des règles spécifiques qui + vous permettent d'appliquer les personnalisations dans un ensemble à + un contexte spécifique.

Si vous ne définissez aucune règle de + contrainte, les personnalisations de cet ensemble s'appliqueront à l'ensemble + de l'application. Par contre, si vous voulez que les personnalisations + de cet ensemble s'appliquent uniquement à un processus spécifique, sélectionnez + "Processus participatifs" comme type d'espace participatif et le processus + cible comme espace participatif. De plus, vous pouvez également appliquer + les personnalisations à un composant spécifique en définissant le composant + de la contrainte.

Si vous définissez plusieurs contraintes, les + personnalisations s'appliqueront à tous ceux-ci.

constraint_help_title: Quelles sont les contraintes? - help_html:

Un jeu de traduction est un "conteneur" qui contient les traductions pour un contexte spécifique que vous souhaitez personnaliser.

Les ensembles de traduction vous aident à organiser vos personnalisations et à les appliquer à différents contextes. Cela vous permet de personnaliser la même traduction différemment dans différents contextes.

Par exemple, si vous voulez personnaliser un bouton avec le terme "Ajouter" différemment pour différents processus participatifs, vous pouvez créer des ensembles de traduction séparés pour les deux processus et appliquer l'ensemble à ces processus en utilisant les contraintes.

+ help_html:

Un jeu de traduction est un "conteneur" qui contient les + traductions pour un contexte spécifique que vous souhaitez personnaliser.

+

Les ensembles de traduction vous aident à organiser vos personnalisations + et à les appliquer à différents contextes. Cela vous permet de personnaliser + la même traduction différemment dans différents contextes.

Par + exemple, si vous voulez personnaliser un bouton avec le terme "Ajouter" + différemment pour différents processus participatifs, vous pouvez créer + des ensembles de traduction séparés pour les deux processus et appliquer + l'ensemble à ces processus en utilisant les contraintes.

help_title: Qu'est-ce qu'un ensemble de traductions ? + name_help_text: Saisissez un titre descriptif pour le jeu de traductions. title: Jeu de traductions index: - no_records_html:

Aucune ensemble de traduction disponible.

Commencez par ajouter une traduction définie à partir du bouton "%{button_name}.

+ no_records_html:

Aucune ensemble de traduction disponible.

+

Commencez par ajouter une traduction définie à + partir du bouton "%{button_name}.

new: create: Créer title: Jeu de traductions @@ -95,35 +135,58 @@ fr: destroy: success: La traduction a été supprimée. edit: + help_html:

Une clé de traduction est une référence technique au mot + ou à l'ensemble de mots à traduire. Ce n'est pas le terme que vous voulez + changer, mais la clé qui fait référence à cette traduction.

Par + exemple, si vous voulez changer le terme "Processus" dans le + menu supérieur, vous utiliseriez la clé "decidim. enu.processes".

+

+ En savoir plus sur l'internationalisation Rails.

help_title: Qu'est-ce qu'une clé de traduction ? save: Sauvegarder - title: Traduction - help_html:

Une clé de traduction est une référence technique au mot ou à l'ensemble de mots à traduire. Ce n'est pas le terme que vous voulez changer, mais la clé qui fait référence à cette traduction.

Par exemple, si vous voulez changer le terme "Processus" dans le menu supérieur, vous utiliseriez la clé "decidim. enu.processes".

En savoir plus sur l'internationalisation Rails.

- term_help_html: "

Le terme personnalisé est le dernier mot que vous voudriez apparaître dans l'interface utilisateur au lieu du terme original. Évidemment, le terme personnalisé peut différer pour chaque langue activée.

" + term_help_html: "

Le terme personnalisé est le dernier mot que vous + voudriez apparaître dans l'interface utilisateur au lieu du terme original. + Évidemment, le terme personnalisé peut différer pour chaque langue activée.

" term_help_title: Qu'est-ce qu'un terme personnalisé ? + title: Traduction import: error: Erreur lors de l'importation des traductions success: Traductions importées avec succès. index: actions: Actions - no_records_html:

Aucune traduction disponible dans cet ensemble.

Commencez par ajouter des traductions à cet ensemble. La façon la plus simple est d'utiliser le bouton "%{button_name}" où vous pouvez rechercher des traductions avec les mêmes termes que ceux que vous voyez dans l'interface utilisateur.

+ no_records_html:

Aucune traduction disponible dans cet + ensemble.

Commencez par ajouter des traductions + à cet ensemble. La façon la plus simple est d'utiliser le bouton "%{button_name}" où vous pouvez rechercher + des traductions avec les mêmes termes que ceux que vous voyez dans l'interface + utilisateur.

selected: sélectionné new: create: Créer - title: Traduction - help_html:

Une clé de traduction est une référence technique au mot ou à l'ensemble de mots à traduire. Ce n'est pas le terme que vous voulez changer, mais la clé qui fait référence à cette traduction.

Par exemple, si vous voulez changer le terme "Processus" dans le menu supérieur, vous utiliseriez la clé "decidim. enu.processes".

En savoir plus sur l'internationalisation Rails.

+ help_html:

Une clé de traduction est une référence technique au mot + ou à l'ensemble de mots à traduire. Ce n'est pas le terme que vous voulez + changer, mais la clé qui fait référence à cette traduction.

Par + exemple, si vous voulez changer le terme "Processus" dans le + menu supérieur, vous utiliseriez la clé "decidim. enu.processes".

+

+ En savoir plus sur l'internationalisation Rails.

help_title: Qu'est-ce qu'une clé de traduction ? - term_help_html: "

Le terme personnalisé est le dernier mot que vous voudriez apparaître dans l'interface utilisateur au lieu du terme original. Évidemment, le terme personnalisé peut différer pour chaque langue activée.

" + term_help_html: "

Le terme personnalisé est le dernier mot que vous + voudriez apparaître dans l'interface utilisateur au lieu du terme original. + Évidemment, le terme personnalisé peut différer pour chaque langue activée.

" term_help_title: Qu'est-ce qu'un terme personnalisé ? + title: Traduction new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Ajouter un fichier d''importation qui sera analysé pour les traductions. Les formats supportés sont: %{valid_mime_types}' + file_legend: 'Ajouter un fichier d''importation qui sera analysé pour + les traductions. Les formats supportés sont: %{valid_mime_types}' start_import: Démarrer l'import title: Importer des traductions - zip_hint: Vous pouvez également télécharger le fichier ZIP à partir de l'export des traductions. + zip_hint: Vous pouvez également télécharger le fichier ZIP à partir de + l'export des traductions. update: error: Une erreur a lieu durant la mise à jour de la traduction. success: Traduction mis à jour avec succès. @@ -133,7 +196,8 @@ fr: success: Traductions supprimées avec succès. new: destroy: Supprimer + no_records_html:

Aucune traduction disponible dans + cet ensemble.

title: Supprimer des traductions - no_records_html:

Aucune traduction disponible dans cet ensemble.

menu: term_customizer: Paramétrages des traductions diff --git a/config/locales/it.yml b/config/locales/it.yml index 313b8e29..c966c5a7 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -18,36 +18,54 @@ it: translations_import: attributes: file: - invalid_mime_type: 'Tipo di file non valido. I formati accettati sono: %{valid_mime_types}' + invalid_mime_type: 'Tipo di file non valido. I formati accettati sono: + %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Cerca set di traduzione per nome o traduzioni per chiave o valore term_customizer: admin: actions: add_multiple_translations: Aggiungi più back: Indietro cancel: Annulla - clear_cache: Cancella Cache + clear_cache: Applica le traduzioni + clear_cache_confirm: Sei sicuro di voler applicare le traduzioni? Questo svuoterà la cache e le modifiche saranno visibili nell'applicazione. confirm_duplicate: Sei sicuro di voler duplicare questo set? duplicate: Duplica help: Guida import: Importa - new_translation: Nuova traduzione + new_translation: Traduzione manuale new_translation_set: Nuovo set di traduzione title: Actions view: Visualizza add_translations: index: add: Aggiungi - help_html:

Inizia digitando un paio di lettere che appaiono nel termine che vuoi cambiare nel pannello di ricerca. Attendere alcuni secondi e una lista di tutte le traduzioni corrispondenti alla ricerca verrà visualizzata sotto il campo di ricerca. Fare clic sulle traduzioni nella lista che si desidera modificare. Esse appariranno sotto il campo di ricerca nell'elenco delle traduzioni da aggiungere.

Una volta che hai aggiunto tutte le traduzioni che vuoi cambiare, clicca sul pulsante "%{button_name}" nella parte inferiore dello schermo.

+ help_html:

Inizia digitando un paio di lettere che appaiono nel termine + che vuoi cambiare nel pannello di ricerca. Attendere alcuni secondi + e una lista di tutte le traduzioni corrispondenti alla ricerca verrà + visualizzata sotto il campo di ricerca. Fare clic sulle traduzioni nella + lista che si desidera modificare. Esse appariranno sotto il campo di + ricerca nell'elenco delle traduzioni da aggiungere.

Una volta + che hai aggiunto tutte le traduzioni che vuoi cambiare, clicca sul pulsante + "%{button_name}" nella parte inferiore dello schermo.

help_title: Come cercare le traduzioni? search: Search caches: clear: - success: Cache cancellata con successo + success: Traduzioni applicate con successo models: translation_sets: + constraints: + global: Globale fields: + constraints: Vincoli + keys: Chiavi name: Nome + total: Totale traduzioni translations: fields: key: Chiave di traduzione @@ -75,13 +93,35 @@ it: title: Set di traduzioni form: add_constraint: Aggiungi vincolo - constraint_help_html:

I vincoli sono regole specifiche che consentono di applicare le personalizzazioni in un set a un contesto specifico.

Nel caso in cui non si definiscano regole vincolanti, le personalizzazioni in questo set si applicheranno all'intera applicazione. D'altra parte, se si desidera che le personalizzazioni in questo set si applichino solo a un processo specifico, selezionare "Processi partecipativi" come tipo di spazio partecipativo e il processo di destinazione come spazio partecipativo. Inoltre, è anche possibile applicare le personalizzazioni a un componente specifico definendo il componente per il vincolo.

Se definisci più vincoli, le personalizzazioni si applicheranno in tutti questi.

+ constraint_help_html:

I vincoli sono regole specifiche che consentono + di applicare le personalizzazioni in un set a un contesto specifico.

+

Nel caso in cui non si definiscano regole vincolanti, le personalizzazioni + in questo set si applicheranno all'intera applicazione. D'altra parte, + se si desidera che le personalizzazioni in questo set si applichino + solo a un processo specifico, selezionare "Processi partecipativi" come + tipo di spazio partecipativo e il processo di destinazione come spazio + partecipativo. Inoltre, è anche possibile applicare le personalizzazioni + a un componente specifico definendo il componente per il vincolo.

+

Se definisci più vincoli, le personalizzazioni si applicheranno in + tutti questi.

constraint_help_title: Quali sono i vincoli? - help_html:

Un set di traduzioni è un "contenitore" che contiene le traduzioni per un contesto specifico che si desidera personalizzare.

I set di traduzioni ti aiutano a organizzare le tue personalizzazioni e applicarle a contesti diversi. Questo consente di personalizzare la stessa traduzione in diversi contesti.

Ad esempio, se si desidera personalizzare un pulsante con il termine "Aggiungi" in modo diverso per i diversi processi partecipativi, è possibile creare set di traduzioni separati per entrambi i processi e applicare il set a quei processi utilizzando i vincoli.

+ help_html:

Un set di traduzioni è un "contenitore" che contiene le + traduzioni per un contesto specifico che si desidera personalizzare.

+

I set di traduzioni ti aiutano a organizzare le tue personalizzazioni + e applicarle a contesti diversi. Questo consente di personalizzare la + stessa traduzione in diversi contesti.

Ad esempio, se si desidera + personalizzare un pulsante con il termine "Aggiungi" in modo diverso + per i diversi processi partecipativi, è possibile creare set di traduzioni + separati per entrambi i processi e applicare il set a quei processi + utilizzando i vincoli.

help_title: Cos'è un set di traduzione? + name_help_text: Inserire un titolo descrittivo per il set di traduzioni. title: Set di traduzioni index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Crea title: Set di traduzione @@ -95,32 +135,51 @@ it: destroy: success: Translation successfully deleted. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Salva - title: Traduzione - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Traduzione import: error: Error importing translations success: Translations successfully imported. index: actions: Azioni - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selected new: create: Create - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Add an import file that will be parsed for translations. Suported formats are: %{valid_mime_types}' + file_legend: 'Add an import file that will be parsed for translations. + Suported formats are: %{valid_mime_types}' start_import: Start import title: Import translations zip_hint: You can also upload the ZIP file from the translations export. @@ -133,7 +192,8 @@ it: success: Translations successfully deleted. new: destroy: Delete + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 7a26d988..8699b960 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -20,34 +20,47 @@ ja: file: invalid_mime_type: '無効なファイルタイプです。使用できるフォーマット: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: 翻訳セットを名前で検索、または翻訳をキーで検索 term_customizer: admin: actions: add_multiple_translations: まとめて追加 back: 戻る cancel: キャンセル - clear_cache: キャッシュのクリア + clear_cache: 翻訳を適用 confirm_duplicate: このセットを複製してもよろしいですか? duplicate: 複製 help: ヘルプ import: インポート - new_translation: 新しい翻訳 + new_translation: 手動翻訳 new_translation_set: 新しい翻訳セット title: アクション view: 表示 add_translations: index: add: 追加 - help_html: "

まず、検索パネルで変更したい用語に現れる文字を数文字入力してください。\n少し待つと、検索フィールドの下に検索に一致するすべての翻訳のリストが表示されます。\nそのリストの中から、変更したい文言をクリックします。

\n

変更したい翻訳をすべて追加したら、画面下部の「%{button_name}」ボタンをクリックします。

" + help_html: |- +

まず、検索パネルで変更したい用語に現れる文字を数文字入力してください。 + 少し待つと、検索フィールドの下に検索に一致するすべての翻訳のリストが表示されます。 + そのリストの中から、変更したい文言をクリックします。

+

変更したい翻訳をすべて追加したら、画面下部の「%{button_name}」ボタンをクリックします。

help_title: 翻訳の検索方法 search: 検索 caches: clear: - success: キャッシュを削除しました + success: 翻訳を正常に適用しました models: translation_sets: + constraints: + global: グローバル fields: + constraints: 制約 + keys: キー name: 名前 + total: 翻訳合計 translations: fields: key: 翻訳キー @@ -67,7 +80,7 @@ ja: destroy: success: 翻訳セットは正常に削除されました。 duplicate: - copied_set_name: '%{name} のコピー' + copied_set_name: "%{name} のコピー" error: 翻訳セットの複製エラー success: 翻訳セットは正常に複製されました。 edit: @@ -75,13 +88,27 @@ ja: title: 翻訳セット form: add_constraint: 制約の追加 - constraint_help_html: "

制約とは、セット内のカスタマイズを特定のコンテキストのみに適用できるようにするための特別なルールです。

\n

制約ルールを定義しない場合、このセットのカスタマイズは、アプリケーション全体に適用されます。\n一方、このセットのカスタマイズを特定のプロセスのみに適用したい場合は、\n参加型スペースの種類として「参加型プロセス」、参加型スペースとして対象のプロセスを選択します。\nさらに、制約にコンポーネントを定義することで、カスタマイズを特定のコンポーネントのみに適用することもできます。

\n

複数の制約を定義した場合、カスタマイズはそれら全てに適用されます。

" + constraint_help_html: |- +

制約とは、セット内のカスタマイズを特定のコンテキストのみに適用できるようにするための特別なルールです。

+

制約ルールを定義しない場合、このセットのカスタマイズは、アプリケーション全体に適用されます。 + 一方、このセットのカスタマイズを特定のプロセスのみに適用したい場合は、 + 参加型スペースの種類として「参加型プロセス」、参加型スペースとして対象のプロセスを選択します。 + さらに、制約にコンポーネントを定義することで、カスタマイズを特定のコンポーネントのみに適用することもできます。

+

複数の制約を定義した場合、カスタマイズはそれら全てに適用されます。

constraint_help_title: 制約とは? - help_html: "

翻訳セットは、カスタマイズしたい特定のコンテキストのための翻訳を保持する「コンテナ」です。

\n

翻訳セットを使用すると、カスタマイズを整理し、異なるコンテキストに適用することができます。\nこれにより、同じ翻訳を異なるコンテキストで異なるようにカスタマイズすることができます。

\n

たとえば、「追加」という用語のボタンを異なる参加型プロセス用で異なるようにカスタマイズしたい場合、\n両方のプロセス用に別々の翻訳セットを作成し、制約を使用してこれらのプロセスにセットを適用することができます。

" + help_html: |- +

翻訳セットは、カスタマイズしたい特定のコンテキストのための翻訳を保持する「コンテナ」です。

+

翻訳セットを使用すると、カスタマイズを整理し、異なるコンテキストに適用することができます。 + これにより、同じ翻訳を異なるコンテキストで異なるようにカスタマイズすることができます。

+

たとえば、「追加」という用語のボタンを異なる参加型プロセス用で異なるようにカスタマイズしたい場合、 + 両方のプロセス用に別々の翻訳セットを作成し、制約を使用してこれらのプロセスにセットを適用することができます。

help_title: 翻訳セットとは? + name_help_text: 翻訳セットの説明的なタイトルを入力してください。 title: 翻訳セット index: - no_records_html:

利用可能な翻訳セットはありません。

「 %{button_name} 」ボタンから翻訳セットを追加します。

+ no_records_html:

利用可能な翻訳セットはありません。

「 + %{button_name} 」ボタンから翻訳セットを追加します。

new: create: 作成 title: 翻訳セット @@ -95,32 +122,39 @@ ja: destroy: success: 翻訳セットが正常に削除されました。 edit: + help_html: |- +

翻訳キーは、翻訳される文言の内部的な参照先です。これは、変更したい用語そのものではなく、その用語を参照するための技術的なキーになります。

+

たとえば、トップメニューの "Processes" という用語を変更したい場合、キーとしては"decidim.menu.processes"を使用します。

+

Railsの国際化についてもっと読む

help_title: 翻訳キーとは? save: 保存 - title: 翻訳 - help_html: "

翻訳キーは、翻訳される文言の内部的な参照先です。これは、変更したい用語そのものではなく、その用語を参照するための技術的なキーになります。

\n

たとえば、トップメニューの \"Processes\" という用語を変更したい場合、キーとしては\"decidim.menu.processes\"を使用します。

\n

Railsの国際化についてもっと読む

" term_help_html: "

カスタマイズされた文言は、元の単語の代わりにUIに表示させたい最終的な文言です。当然ながら、カスタマイズされた文言は、言語ごとに異なる場合があります。

" term_help_title: カスタマイズされた文言とは? + title: 翻訳 import: error: 翻訳のインポートエラー success: 翻訳は正常にインポートされました。 index: actions: アクション - no_records_html:

このセットで利用できる翻訳はありません。

このセットに翻訳を追加することから始めてください。最も簡単な方法は、「%{button_name}」ボタンを使って、UIに表示されているものと同じ言葉で翻訳を検索することです。

+ no_records_html:

このセットで利用できる翻訳はありません。

このセットに翻訳を追加することから始めてください。最も簡単な方法は、「%{button_name}」ボタンを使って、UIに表示されているものと同じ言葉で翻訳を検索することです。

selected: 選択済み new: create: 作成 - title: 翻訳 - help_html: "

翻訳キーは、翻訳される文言の内部的な参照先です。これは、変更したい用語そのものではなく、その用語を参照するための技術的なキーになります。

\n

たとえば、トップメニューの \"Processes\" という用語を変更したい場合、キーとしては\"decidim.menu.processes\"を使用します。

\n

Railsの国際化についてもっと読む

" + help_html: |- +

翻訳キーは、翻訳される文言の内部的な参照先です。これは、変更したい用語そのものではなく、その用語を参照するための技術的なキーになります。

+

たとえば、トップメニューの "Processes" という用語を変更したい場合、キーとしては"decidim.menu.processes"を使用します。

+

Railsの国際化についてもっと読む

help_title: 翻訳キーとは? term_help_html: "

カスタマイズされた文言は、元の単語の代わりにUIに表示させたい最終的な文言です。当然ながら、カスタマイズされた文言は、言語ごとに異なる場合があります。

" term_help_title: カスタマイズされた文言とは? + title: 翻訳 new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: '翻訳用に解析されるインポートファイルを追加します。サポートしているフォーマット:%{valid_mime_types}' + file_legend: 翻訳用に解析されるインポートファイルを追加します。サポートしているフォーマット:%{valid_mime_types} start_import: インポートを開始 title: 翻訳のインポート zip_hint: エクスポートした翻訳のZIPファイルもアップロードできます。 @@ -133,7 +167,7 @@ ja: success: 翻訳は正常に削除されました。 new: destroy: 削除 - title: 翻訳を削除 no_records_html:

このセットには翻訳がありません。

+ title: 翻訳を削除 menu: term_customizer: 文言の差し替え diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 74e0bab2..811f724e 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -20,34 +20,51 @@ ko: file: invalid_mime_type: 'Invalid file type. Accepted formats are: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Search translation sets by name or + translations by key term_customizer: admin: actions: add_multiple_translations: Add multiple back: Back cancel: Cancel - clear_cache: Clear cache + clear_cache: Apply translations confirm_duplicate: Are you sure you want to duplicate this set? duplicate: Duplicate help: Help import: Import - new_translation: New translation + new_translation: Manual translation new_translation_set: New translation set title: Actions view: View add_translations: index: add: Add - help_html:

Start by typing a couple of letters appearing in the term that you want to change in the search panel. Wait for few seconds and a list of all translations matching your search will be displayed below the search field. Click the translations in that list that you want to change. They will appear below the search field in the list of translations to be added.

Once you have added all the translations that you want to change, click the "%{button_name}" button at the bottom of the screen.

+ help_html:

Start by typing a couple of letters appearing in the term + that you want to change in the search panel. Wait for few seconds and + a list of all translations matching your search will be displayed below + the search field. Click the translations in that list that you want + to change. They will appear below the search field in the list of translations + to be added.

Once you have added all the translations that you + want to change, click the "%{button_name}" button at the bottom of the + screen.

help_title: How to search for translations? search: Search caches: clear: - success: Cache cleared successfully + success: Translations applied successfully models: translation_sets: + constraints: + global: Global fields: + constraints: Constraints + keys: Keys name: Name + total: Total translations translations: fields: key: Translation key @@ -75,13 +92,33 @@ ko: title: Translation set form: add_constraint: Add constraint - constraint_help_html:

Constraints are specific rules that allow you to apply the customizations in a set to a specific context.

In case you do not define any constraint rules, the customizations in this set will apply to the whole application. On the other hand, if you want the customizations in this set to apply only to a specific process, select "Participatory processes" as the participatory space type and the target process as the participatory space. Furthermore, you can also apply the customizations to a specific component by defining the component for the constraint.

If you define multiple constraints, the customizations will apply in all of those.

+ constraint_help_html:

Constraints are specific rules that allow you + to apply the customizations in a set to a specific context.

In + case you do not define any constraint rules, the customizations in this + set will apply to the whole application. On the other hand, if you want + the customizations in this set to apply only to a specific process, + select "Participatory processes" as the participatory space type and + the target process as the participatory space. Furthermore, you can + also apply the customizations to a specific component by defining the + component for the constraint.

If you define multiple constraints, + the customizations will apply in all of those.

constraint_help_title: What are constraints? - help_html:

A translation set is a "container" that holds the translations for a specific context you want to customize.

Translation sets help you to organize your customizations and apply them to different contexts. This allows you to customize the same translation differently in different contexts.

For example, if you want to customize a button with the term "Add" differently for different participatory processes, you can create separate translation sets for both processes and apply the set to those processes using the constraints.

+ help_html:

A translation set is a "container" that holds the translations + for a specific context you want to customize.

Translation sets + help you to organize your customizations and apply them to different + contexts. This allows you to customize the same translation differently + in different contexts.

For example, if you want to customize + a button with the term "Add" differently for different participatory + processes, you can create separate translation sets for both processes + and apply the set to those processes using the constraints.

help_title: What is a translation set? + name_help_text: Enter a descriptive title for the translation set. title: Translation set index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Create title: Translation sets @@ -95,32 +132,51 @@ ko: destroy: success: Translation successfully deleted. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Save - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation import: error: Error importing translations success: Translations successfully imported. index: actions: Actions - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selected new: create: Create - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Add an import file that will be parsed for translations. Suported formats are: %{valid_mime_types}' + file_legend: 'Add an import file that will be parsed for translations. + Suported formats are: %{valid_mime_types}' start_import: Start import title: Import translations zip_hint: You can also upload the ZIP file from the translations export. @@ -133,7 +189,8 @@ ko: success: Translations successfully deleted. new: destroy: Delete + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 79aa1763..5062a0a4 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -18,36 +18,53 @@ lt: translations_import: attributes: file: - invalid_mime_type: 'Netinkamas rinkmenos tipas. Priimtini formatai: %{valid_mime_types}' + invalid_mime_type: 'Netinkamas rinkmenos tipas. Priimtini formatai: + %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Ieškoti vertimų kolekcijų pagal pavadinimą + arba vertimų pagal raktą term_customizer: admin: actions: add_multiple_translations: Pridėti kelis back: Atgal cancel: Atšaukti - clear_cache: Išvalyti talpyklą + clear_cache: Taikyti vertimus confirm_duplicate: Ar tikrai norėtumėte dublikuoti šią kolekciją? duplicate: Dublikuoti help: Pagalba import: Importuoti - new_translation: Naujas vertimas + new_translation: Rankinis vertimas new_translation_set: Nauja vertimų kolekcija title: Actions view: Peržiūrėti add_translations: index: add: Pridėti - help_html:

Pradėkite rašyti porą raidžių, kurios yra norimame keisti termino paieškos skydelyje. Palaukite kelias sekundes, ir žemiau paieškos lauko bus rodomas sąrašas su visais vertimais, atitinkančiais jūsų paiešką. Spustelėkite vertimus tame sąraše, kuriuos norite pakeisti. Jie pasirodys žemiau paieškos lauko pridedamų vertimų sąraše.

Kai pridėsite visus vertimus, kuriuos norite pakeisti, spustelėkite mygtuką „%{button_name}“ ekrano apačioje.

+ help_html: "

Pradėkite rašyti porą raidžių, kurios yra norimame keisti + termino paieškos skydelyje. Palaukite kelias sekundes, ir žemiau paieškos + lauko bus rodomas sąrašas su visais vertimais, atitinkančiais jūsų paiešką. + Spustelėkite vertimus tame sąraše, kuriuos norite pakeisti. Jie pasirodys + žemiau paieškos lauko pridedamų vertimų sąraše.

Kai pridėsite + visus vertimus, kuriuos norite pakeisti, spustelėkite mygtuką „%{button_name}“ + ekrano apačioje.

" help_title: Kaip ieškoti vertimų? search: Ieškoti caches: clear: - success: Talpykla išvalyta sėkmingai + success: Vertimai sėkmingai pritaikyti models: translation_sets: + constraints: + global: Visuotinis fields: + constraints: Apribojimai + keys: Raktai name: Pavadinimas + total: Iš viso vertimų translations: fields: key: Vertimo raktas @@ -67,7 +84,7 @@ lt: destroy: success: Vertimų kolekcija ištrinta. duplicate: - copied_set_name: '%{name} kopija' + copied_set_name: "%{name} kopija" error: Klaida dublikuojant vertimų kolekciją. success: Vertimų kolekcija dublikuota. edit: @@ -75,13 +92,33 @@ lt: title: Vertimų kolekcija form: add_constraint: Pridėti apribojimą - constraint_help_html:

Apribojimai yra specifinės taisyklės, leidžiančios taikyti individualizacijas rinkinyje tam tikram kontekstui.

Jeigu neapibrėžiate jokių apribojimų taisyklių, šio rinkinio individualizacijos bus taikomos visai programai. Kita vertus, jei norite, kad šio rinkinio individualizacijos būtų taikomos tik tam tikram procesui, pasirinkite „Dalyvaujantys procesai“ kaip dalyvaujamojo erdvės tipą ir tikslinį procesą kaip dalyvaujamąją erdvę. Be to, galite taikyti individualizacijas tam tikram komponentui, apibrėždami apribojimui komponentą.

Jeigu apibrėžiate kelis apribojimus, individualizacijos bus taikomos visuose jų.

+ constraint_help_html: "

Apribojimai yra specifinės taisyklės, leidžiančios + taikyti individualizacijas rinkinyje tam tikram kontekstui.

Jeigu + neapibrėžiate jokių apribojimų taisyklių, šio rinkinio individualizacijos + bus taikomos visai programai. Kita vertus, jei norite, kad šio rinkinio + individualizacijos būtų taikomos tik tam tikram procesui, pasirinkite + „Dalyvaujantys procesai“ kaip dalyvaujamojo erdvės tipą ir tikslinį + procesą kaip dalyvaujamąją erdvę. Be to, galite taikyti individualizacijas + tam tikram komponentui, apibrėždami apribojimui komponentą.

Jeigu + apibrėžiate kelis apribojimus, individualizacijos bus taikomos visuose + jų.

" constraint_help_title: Kas yra apribojimai? - help_html:

Vertimų kolekcija yra „konteineris“, kuriame laikomi vertimai tam tikram kontekstui, kurį norite pritaikyti pagal savo poreikius.

Vertimų rinkiniai padeda jums organizuoti savo pritaikymus ir taikyti juos skirtingiems kontekstams. Tai leidžia jums pritaikyti tą patį vertimą skirtingai skirtinguose kontekstuose.

Pavyzdžiui, jei norite pritaikyti mygtuką su terminu „Pridėti“ skirtingai skirtingiems dalyvaujantiems procesams, galite sukurti atskirus vertimų rinkinius abiem procesams ir taikyti rinkinį tiems procesams naudodami apribojimus.

+ help_html: "

Vertimų kolekcija yra „konteineris“, kuriame laikomi vertimai + tam tikram kontekstui, kurį norite pritaikyti pagal savo poreikius.

+

Vertimų rinkiniai padeda jums organizuoti savo pritaikymus ir taikyti + juos skirtingiems kontekstams. Tai leidžia jums pritaikyti tą patį vertimą + skirtingai skirtinguose kontekstuose.

Pavyzdžiui, jei norite + pritaikyti mygtuką su terminu „Pridėti“ skirtingai skirtingiems dalyvaujantiems + procesams, galite sukurti atskirus vertimų rinkinius abiem procesams + ir taikyti rinkinį tiems procesams naudodami apribojimus.

" help_title: Kas yra vertimų kolekcija? + name_help_text: Įveskite aprašomąjį vertimų kolekcijos pavadinimą. title: Vertimų kolekcija index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Kurti title: Vertimų kolekcija @@ -95,32 +132,51 @@ lt: destroy: success: Translation successfully deleted. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Save - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation import: error: Error importing translations success: Translations successfully imported. index: actions: Actions - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selected new: create: Create - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Add an import file that will be parsed for translations. Suported formats are: %{valid_mime_types}' + file_legend: 'Add an import file that will be parsed for translations. + Suported formats are: %{valid_mime_types}' start_import: Start import title: Import translations zip_hint: You can also upload the ZIP file from the translations export. @@ -133,7 +189,8 @@ lt: success: Translations successfully deleted. new: destroy: Delete + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/config/locales/pt.yml b/config/locales/pt.yml new file mode 100644 index 00000000..8afc2466 --- /dev/null +++ b/config/locales/pt.yml @@ -0,0 +1,7 @@ +pt: + decidim: + term_customizer: + admin: + actions: + clear_cache: Aplicar traduções + clear_cache_confirm: Tem a certeza de que pretende aplicar as traduções? Isto limpará a cache e as alterações ficarão visíveis na aplicação. \ No newline at end of file diff --git a/config/locales/ro.yml b/config/locales/ro.yml index a877ae22..c99c3bc9 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -18,36 +18,54 @@ ro: translations_import: attributes: file: - invalid_mime_type: 'Tip de fișier invalid. Formatele acceptate sunt: %{valid_mime_types}' + invalid_mime_type: 'Tip de fișier invalid. Formatele acceptate sunt: + %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Caută seturi de traduceri după nume + sau traduceri după cheie term_customizer: admin: actions: add_multiple_translations: Adaugă mai multe back: Inapoi cancel: Anulează - clear_cache: Golește memoria cache + clear_cache: Aplică traducerile confirm_duplicate: Sigur vrei să duplici acest set? duplicate: Duplică help: Ajutor import: Importă - new_translation: Traducere nouă + new_translation: Traducere manuală new_translation_set: Set nou de traducere title: Actions view: Vizualizare add_translations: index: add: Adăugare - help_html:

Start by typing a couple of letters appearing in the term that you want to change in the search panel. Wait for few seconds and a list of all translations matching your search will be displayed below the search field. Click the translations in that list that you want to change. They will appear below the search field in the list of translations to be added.

Once you have added all the translations that you want to change, click the "%{button_name}" button at the bottom of the screen.

+ help_html:

Start by typing a couple of letters appearing in the term + that you want to change in the search panel. Wait for few seconds and + a list of all translations matching your search will be displayed below + the search field. Click the translations in that list that you want + to change. They will appear below the search field in the list of translations + to be added.

Once you have added all the translations that you + want to change, click the "%{button_name}" button at the bottom of the + screen.

help_title: Cum să cauți traduceri? search: Caută caches: clear: - success: Memoria cache a fost ștearsă cu succes + success: Traducerile au fost aplicate cu succes models: translation_sets: + constraints: + global: Global fields: + constraints: Constrângeri + keys: Chei name: Nume + total: Total traduceri translations: fields: key: Cheie traducere @@ -75,13 +93,33 @@ ro: title: Set de traducere form: add_constraint: Adaugă constrângere - constraint_help_html:

Constraints are specific rules that allow you to apply the customizations in a set to a specific context.

In case you do not define any constraint rules, the customizations in this set will apply to the whole application. On the other hand, if you want the customizations in this set to apply only to a specific process, select "Participatory processes" as the participatory space type and the target process as the participatory space. Furthermore, you can also apply the customizations to a specific component by defining the component for the constraint.

If you define multiple constraints, the customizations will apply in all of those.

+ constraint_help_html:

Constraints are specific rules that allow you + to apply the customizations in a set to a specific context.

In + case you do not define any constraint rules, the customizations in this + set will apply to the whole application. On the other hand, if you want + the customizations in this set to apply only to a specific process, + select "Participatory processes" as the participatory space type and + the target process as the participatory space. Furthermore, you can + also apply the customizations to a specific component by defining the + component for the constraint.

If you define multiple constraints, + the customizations will apply in all of those.

constraint_help_title: Ce sunt constrângerile? - help_html:

A translation set is a "container" that holds the translations for a specific context you want to customize.

Translation sets help you to organize your customizations and apply them to different contexts. This allows you to customize the same translation differently in different contexts.

For example, if you want to customize a button with the term "Add" differently for different participatory processes, you can create separate translation sets for both processes and apply the set to those processes using the constraints.

+ help_html:

A translation set is a "container" that holds the translations + for a specific context you want to customize.

Translation sets + help you to organize your customizations and apply them to different + contexts. This allows you to customize the same translation differently + in different contexts.

For example, if you want to customize + a button with the term "Add" differently for different participatory + processes, you can create separate translation sets for both processes + and apply the set to those processes using the constraints.

help_title: Ce este un set de traducere? + name_help_text: Introduceți un titlu descriptiv pentru setul de traduceri. title: Set de traducere index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Creează title: Seturi de traducere @@ -95,32 +133,51 @@ ro: destroy: success: Traducere ștearsă cu succes. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Save - title: Traducere - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Traducere import: error: Eroare la importarea traducerilor success: Traduceri importate cu succes. index: actions: Acțiuni - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selectat new: create: Creare - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Adăugă un fișier de import care va fi analizat pentru traduceri. Formatele Suportate sunt: %{valid_mime_types}' + file_legend: 'Adăugă un fișier de import care va fi analizat pentru traduceri. + Formatele Suportate sunt: %{valid_mime_types}' start_import: Începe importul title: Importa traduceri zip_hint: De asemenea, poți încărca fișierul ZIP din exportul de traduceri. @@ -133,7 +190,8 @@ ro: success: Traducerile au fost șterse. new: destroy: Şterge + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 6277d40c..d621dd2a 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -20,34 +20,51 @@ sv: file: invalid_mime_type: 'Invalid file type. Accepted formats are: %{valid_mime_types}' decidim: + admin: + filters: + search_placeholder: + search_text_or_translations_key_or_translations_value_cont: Search translation sets by name or + translations by key term_customizer: admin: actions: add_multiple_translations: Add multiple back: Back cancel: Cancel - clear_cache: Clear cache + clear_cache: Apply translations confirm_duplicate: Are you sure you want to duplicate this set? duplicate: Duplicate help: Help import: Import - new_translation: New translation + new_translation: Manual translation new_translation_set: New translation set title: Actions view: View add_translations: index: add: Add - help_html:

Start by typing a couple of letters appearing in the term that you want to change in the search panel. Wait for few seconds and a list of all translations matching your search will be displayed below the search field. Click the translations in that list that you want to change. They will appear below the search field in the list of translations to be added.

Once you have added all the translations that you want to change, click the "%{button_name}" button at the bottom of the screen.

+ help_html:

Start by typing a couple of letters appearing in the term + that you want to change in the search panel. Wait for few seconds and + a list of all translations matching your search will be displayed below + the search field. Click the translations in that list that you want + to change. They will appear below the search field in the list of translations + to be added.

Once you have added all the translations that you + want to change, click the "%{button_name}" button at the bottom of the + screen.

help_title: How to search for translations? search: Search caches: clear: - success: Cache cleared successfully + success: Translations applied successfully models: translation_sets: + constraints: + global: Global fields: + constraints: Constraints + keys: Keys name: Name + total: Total translations translations: fields: key: Translation key @@ -75,13 +92,33 @@ sv: title: Translation set form: add_constraint: Add constraint - constraint_help_html:

Constraints are specific rules that allow you to apply the customizations in a set to a specific context.

In case you do not define any constraint rules, the customizations in this set will apply to the whole application. On the other hand, if you want the customizations in this set to apply only to a specific process, select "Participatory processes" as the participatory space type and the target process as the participatory space. Furthermore, you can also apply the customizations to a specific component by defining the component for the constraint.

If you define multiple constraints, the customizations will apply in all of those.

+ constraint_help_html:

Constraints are specific rules that allow you + to apply the customizations in a set to a specific context.

In + case you do not define any constraint rules, the customizations in this + set will apply to the whole application. On the other hand, if you want + the customizations in this set to apply only to a specific process, + select "Participatory processes" as the participatory space type and + the target process as the participatory space. Furthermore, you can + also apply the customizations to a specific component by defining the + component for the constraint.

If you define multiple constraints, + the customizations will apply in all of those.

constraint_help_title: What are constraints? - help_html:

A translation set is a "container" that holds the translations for a specific context you want to customize.

Translation sets help you to organize your customizations and apply them to different contexts. This allows you to customize the same translation differently in different contexts.

For example, if you want to customize a button with the term "Add" differently for different participatory processes, you can create separate translation sets for both processes and apply the set to those processes using the constraints.

+ help_html:

A translation set is a "container" that holds the translations + for a specific context you want to customize.

Translation sets + help you to organize your customizations and apply them to different + contexts. This allows you to customize the same translation differently + in different contexts.

For example, if you want to customize + a button with the term "Add" differently for different participatory + processes, you can create separate translation sets for both processes + and apply the set to those processes using the constraints.

help_title: What is a translation set? + name_help_text: Enter a descriptive title for the translation set. title: Translation set index: - no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} " button.

+ no_records_html:

No translation sets available.

Start by adding a translation set from the " %{button_name} + " button.

new: create: Create title: Translation sets @@ -95,32 +132,51 @@ sv: destroy: success: Translation successfully deleted. edit: + help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? save: Save - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

- term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation import: error: Error importing translations success: Translations successfully imported. index: actions: Actions - no_records_html:

No translations available in this set.

Start by adding translations to this set. The easiest way is to use the " %{button_name} " button where you can search translations with the same terms that you see in the UI.

+ no_records_html:

No translations available in this set.

+

Start by adding translations to this set. The easiest + way is to use the " %{button_name} " button where you + can search translations with the same terms that you see in the UI.

selected: selected new: create: Create - title: Translation - help_html:

A translation key is a technical reference to the translation to be translatated. This is not the term you want to change but the technical key that refers to that translation.

For example, if you want to change the term "Processes" in the top menu, you would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

+ help_html:

A translation key is a technical reference to the translation + to be translatated. This is not the term you want to change but the + technical key that refers to that translation.

For example, if + you want to change the term "Processes" in the top menu, you + would use the key "decidim.menu.processes".

Read more about Rails Internationalization.

help_title: What is translation key? - term_help_html: "

The customized term is the final word you want to appear in the UI instead of the original term. Obviously, the customized term can differ for each enabled language.

" + term_help_html: "

The customized term is the final word you want to + appear in the UI instead of the original term. Obviously, the customized + term can differ for each enabled language.

" term_help_title: What is customized term? + title: Translation new_import: accepted_mime_types: csv: CSV json: JSON xlsx: XLSX - file_legend: 'Add an import file that will be parsed for translations. Suported formats are: %{valid_mime_types}' + file_legend: 'Add an import file that will be parsed for translations. + Suported formats are: %{valid_mime_types}' start_import: Start import title: Import translations zip_hint: You can also upload the ZIP file from the translations export. @@ -133,7 +189,8 @@ sv: success: Translations successfully deleted. new: destroy: Delete + no_records_html:

No translations available in this + set.

title: Delete translations - no_records_html:

No translations available in this set.

menu: term_customizer: Term customizer diff --git a/spec/controllers/decidim/term_customizer/admin/add_translations_controller_spec.rb b/spec/controllers/decidim/term_customizer/admin/add_translations_controller_spec.rb index c0b0727a..d57385c9 100644 --- a/spec/controllers/decidim/term_customizer/admin/add_translations_controller_spec.rb +++ b/spec/controllers/decidim/term_customizer/admin/add_translations_controller_spec.rb @@ -66,7 +66,7 @@ module TermCustomizer expect(response).to have_http_status(:ok) json = response.parsed_body - expect(json.length).to eq(80) + expect(json.length).to eq(85) end end end diff --git a/spec/controllers/decidim/term_customizer/admin/translation_sets_controller_spec.rb b/spec/controllers/decidim/term_customizer/admin/translation_sets_controller_spec.rb index c3230df8..ef08e4d2 100644 --- a/spec/controllers/decidim/term_customizer/admin/translation_sets_controller_spec.rb +++ b/spec/controllers/decidim/term_customizer/admin/translation_sets_controller_spec.rb @@ -19,7 +19,12 @@ module TermCustomizer end describe "GET index" do + render_views + before do + Bullet.add_safelist type: :counter_cache, + class_name: "Decidim::TermCustomizer::TranslationSet", + association: :translations create_list(:translation_set, 10, organization:) create_list(:translation_set, 10, organization: other_organization) end @@ -30,6 +35,29 @@ module TermCustomizer expect(subject).to render_template(:index) expect(assigns(:sets).count).to eq(10) end + + it "shows the new translation set link" do + get :index + expect(response.body).to include(new_translation_set_path) + end + + context "when filtering by translation value" do + let(:matching_set) { create(:translation_set, organization:) } + let(:non_matching_set) { create(:translation_set, organization:) } + + before do + create(:translation, translation_set: matching_set, value: "Lorem ipsum dolor sit amet") + create(:translation, translation_set: non_matching_set) + end + + it "returns sets with translations matching the value" do + get :index, params: { + q: { search_text_or_translations_key_or_translations_value_cont: "Lorem ipsum dolor sit amet" } + } + expect(assigns(:sets)).to include(matching_set) + expect(assigns(:sets)).not_to include(non_matching_set) + end + end end describe "GET new" do diff --git a/spec/lib/decidim/term_customizer/translation_directory_spec.rb b/spec/lib/decidim/term_customizer/translation_directory_spec.rb index c4888c5d..eed4ebf9 100644 --- a/spec/lib/decidim/term_customizer/translation_directory_spec.rb +++ b/spec/lib/decidim/term_customizer/translation_directory_spec.rb @@ -24,7 +24,7 @@ expect(subject.translations_search("term customizer")).to eq( "decidim.term_customizer.menu.term_customizer" => "Term customizer" ) - expect(subject.translations_search("term_customizer").length).to eq(80) + expect(subject.translations_search("term_customizer").length).to eq(85) end end @@ -34,7 +34,7 @@ end it "returns correct translations" do - expect(subject.translations_by_key("term_customizer").length).to eq(80) + expect(subject.translations_by_key("term_customizer").length).to eq(85) end end