From 9c574a300393344a29bbf597978c1d6419e77800 Mon Sep 17 00:00:00 2001 From: Florian Bogenhard Date: Fri, 8 Aug 2014 23:24:27 +0200 Subject: [PATCH] =?UTF-8?q?f=C3=BCgt=20tabel=20gem=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 3 + Gemfile.lock | 7 + app/assets/javascripts/application.js | 1 + app/assets/stylesheets/wice_grid.css.scss | 140 ++++++ config/initializers/wice_grid_config.rb | 171 +++++++ config/locales/wice_grid.yml | 550 ++++++++++++++++++++++ 6 files changed, 872 insertions(+) create mode 100644 app/assets/stylesheets/wice_grid.css.scss create mode 100644 config/initializers/wice_grid_config.rb create mode 100644 config/locales/wice_grid.yml diff --git a/Gemfile b/Gemfile index 28fcbd3..7e8ea28 100644 --- a/Gemfile +++ b/Gemfile @@ -44,3 +44,6 @@ gem 'slim' # Twitter bootstrap gem 'less-rails-bootstrap' gem 'bootstrap_form', github: 'bootstrap-ruby/rails-bootstrap-forms' + +# Table generation +gem "wice_grid" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 8c78c5b..c63cd34 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -54,6 +54,9 @@ GEM railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.8.1) + kaminari (0.16.1) + actionpack (>= 3.0.0) + activesupport (>= 3.0.0) less (2.5.1) commonjs (~> 0.2.7) less-rails (2.5.0) @@ -131,6 +134,9 @@ GEM uglifier (2.5.3) execjs (>= 0.3.0) json (>= 1.8.0) + wice_grid (3.4.9) + coffee-rails + kaminari (>= 0.13.0) PLATFORMS ruby @@ -150,3 +156,4 @@ DEPENDENCIES therubyracer turbolinks uglifier (>= 1.3.0) + wice_grid diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 4aa6e63..e245ed8 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -14,4 +14,5 @@ //= require jquery_ujs //= require turbolinks //= require twitter/bootstrap +//= require wice_grid //= require_tree . diff --git a/app/assets/stylesheets/wice_grid.css.scss b/app/assets/stylesheets/wice_grid.css.scss new file mode 100644 index 0000000..bceac8a --- /dev/null +++ b/app/assets/stylesheets/wice_grid.css.scss @@ -0,0 +1,140 @@ +@mixin icon-dimensions { + width: 16px; + height: 16px; +} + +.wg-detached-filter, .wice-grid{ + + .text-filter-container { + input{ + width:auto; + margin-right: 10px; + display: inline; + } + } + + a.date-label {text-decoration: none;} + a.date-label:hover {text-decoration: line-through;} + + .clickable{ + cursor: pointer; + margin-bottom: 2px; + margin-right: 2px; + } + + .ui-datepicker-trigger, .wg-detached-filter .ui-datepicker-trigger{ + cursor: pointer; + } + + .custom-dropdown-container { + + .expand-multi-select-icon, .collapse-multi-select-icon{ + width: 10px; + height: 10px; + display: inline-block; + margin-left: 5px; + vertical-align: top; + } + + .collapse-multi-select-icon{ + background: transparent image-url("icons/grid/collapse.gif") no-repeat; + } + + .expand-multi-select-icon{ + background: transparent image-url("icons/grid/expand.gif") no-repeat; + } + + } +} + +.wice-grid{ + + + .desc, .asc{ + padding-right: 18px; + text-decoration:none; + } + + .desc { + background: transparent image-url("icons/grid/arrow_down.gif") right no-repeat + } + .asc { + background: transparent image-url("icons/grid/arrow_up.gif") right no-repeat + } + + .submit.clickable{ + background: transparent image-url("icons/grid/table_refresh.png") no-repeat; + @include icon-dimensions; + } + + .reset.clickable{ + background: transparent image-url("icons/grid/table.png") no-repeat; + @include icon-dimensions; + } + + + .wg-show-filter.clickable, + .wg-hide-filter.clickable{ + background: transparent image-url("icons/grid/page_white_find.png") no-repeat; + @include icon-dimensions; + } + + + .export-to-csv-button.clickable{ + background: transparent image-url("icons/grid/page_white_excel.png") no-repeat; + @include icon-dimensions; + } + + .clickable.select-all{ + background: transparent image-url("icons/grid/tick_all.png") no-repeat; + @include icon-dimensions; + float:left; + } + + .clickable.deselect-all{ + background: transparent image-url("icons/grid/untick_all.png") no-repeat; + @include icon-dimensions; + float:left; + } + + + /* in case of twitter bootstrap :) */ + thead th select{ + width: auto; + } + + .pagination{ + margin: 0px; + float: left; + } + + + tr.wg-filter-row input[type=text] { + width: 100px; + } + + .pagination_status { + font-weight: bold; + float: right; + } + +} + +.wice-grid-query-panel{ + li {list-style-type: none; } + + ul {margin-left: 0 } + + a.wice-grid-delete-query .delete-icon{ + background: transparent image-url("icons/grid/delete.png") no-repeat; + float: left; + @include icon-dimensions; + } +} + +input.wice-grid-save-query-field{ + width: auto; + display: inline-block; + margin-right: 10px; +} + diff --git a/config/initializers/wice_grid_config.rb b/config/initializers/wice_grid_config.rb new file mode 100644 index 0000000..d00b151 --- /dev/null +++ b/config/initializers/wice_grid_config.rb @@ -0,0 +1,171 @@ +if defined?(Wice::Defaults) + + # Default number of rows to show per page. + Wice::Defaults::PER_PAGE = 20 + + # Default order direction + Wice::Defaults::ORDER_DIRECTION = 'asc' + + # Default name for a grid. A grid name is the basis for a lot of + # names including parameter names, DOM IDs, etc + # The shorter the name is the shorter the request URI will be. + Wice::Defaults::GRID_NAME = 'grid' + + # If REUSE_LAST_COLUMN_FOR_FILTER_ICONS is true and the last column doesn't have any filter and column name, it will be used + # for filter related icons (filter icon, reset icon, show/hide icon), otherwise an additional table column is added. + Wice::Defaults::REUSE_LAST_COLUMN_FOR_FILTER_ICONS = true + + # The label of the first option of a custom dropdown list meaning 'All items' + Wice::Defaults::CUSTOM_FILTER_ALL_LABEL = '--' + + # A list of classes for the table tag of the grid + Wice::Defaults::DEFAULT_TABLE_CLASSES = ['table', 'table-bordered', 'table-striped'] + + # Allow switching between a single and multiple selection modes in custom filters (dropdown boxes) + Wice::Defaults::ALLOW_MULTIPLE_SELECTION = true + + # Show the upper pagination panel by default or not + Wice::Defaults::SHOW_UPPER_PAGINATION_PANEL = false + + # Disabling CSV export by default + Wice::Defaults::ENABLE_EXPORT_TO_CSV = false + + # Default CSV field separator + Wice::Defaults::CSV_FIELD_SEPARATOR = ',' + + + # The strategy when to show the filter. + # * :when_filtered - when the table is the result of filtering + # * :always - show the filter always + # * :no - never show the filter + Wice::Defaults::SHOW_FILTER = :always + + # A boolean value specifying if a change in a filter triggers reloading of the grid. + Wice::Defaults::AUTO_RELOAD = false + + + # SQL operator used for matching strings in string filters. + Wice::Defaults::STRING_MATCHING_OPERATOR = 'LIKE' + # STRING_MATCHING_OPERATOR = 'ILIKE' # Use this for Postgresql case-insensitive matching. + + + # Defining one string matching operator globally for the whole application turns is not enough + # when you connect to two databases one of which is MySQL and the other is Postgresql. + # If the key for an adapter is missing it will fall back to Wice::Defaults::STRING_MATCHING_OPERATOR + Wice::Defaults::STRING_MATCHING_OPERATORS = { + 'ActiveRecord::ConnectionAdapters::MysqlAdapter' => 'LIKE', + 'ActiveRecord::ConnectionAdapters::PostgreSQLAdapter' => 'ILIKE' + } + + + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Advanced Filters # + + # Switch of the negation checkbox in all text filters + Wice::Defaults::NEGATION_IN_STRING_FILTERS = false + + + # Each WiceGrid filter column is defined in two classes, one used for rendering the filter, the other + # for generating query conditions. All these columns are in lib/wice/columns/*.rb . + # File lib/wice/columns/column_processor_index.rb lists all predefined processors. + # In most cases a processor is chosen automatically based on the DB column type, + # for example, integer columns + # can have two of processors, the default one with one input field, and a processor called "range", + # with 2 input fields. In this case it is possible to specify a processor in the column definition: + # + # g.column filter_type: :range + # + # It is also possible to define you own processors: + # + # Wice::Defaults::ADDITIONAL_COLUMN_PROCESSORS = { + # some_key_identifying_new_column_type: ['AViewColumnProcessorClass', 'ConditionsGeneratorClass'], + # another_key_identifying_new_column_type: ['AnotherViewColumnProcessorClass', 'AnotherConditionsGeneratorClass'] + # } + # + # Column processor keys/names should not coincide with the existing keys/names (see lib/wice/columns/column_processor_index.rb) + # the value is a 2-element array with 2 strings, the first should be a name of view processor class inherited from + # Wice::Columns::ViewColumn, the second should be a name of conditions generator class inherited from + # Wice::Columns::ConditionsGeneratorColumn . + + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Showing All Queries # + + # Enable or disable showing all queries (non-paginated table) + Wice::Defaults::ALLOW_SHOWING_ALL_QUERIES = true + + # If number of all queries is more than this value, the user will be given a warning message + Wice::Defaults::START_SHOWING_WARNING_FROM = 100 + + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Saving Queries # + + # ActiveRecord model to store queries. Read the documentation for details + # QUERY_STORE_MODEL = 'WiceGridSerializedQuery' + Wice::Defaults::QUERY_STORE_MODEL = 'WiceGridSerializedQuery' + + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Here go settings related to the calendar helpers # + + # The default style of the date and datetime helper + # * :calendar - JS calendar + # * :standard - standard Rails date and datetime helpers + Wice::Defaults::HELPER_STYLE = :calendar + + # Format of the datetime displayed. + # If you change the format, make sure to check if +DATETIME_PARSER+ can still parse this string. + Wice::Defaults::DATETIME_FORMAT = "%Y-%m-%d %H:%M" + + # Format of the date displayed. + # If you change the format, make sure to check if +DATE_PARSER+ can still parse this string. + Wice::Defaults::DATE_FORMAT = "%Y-%m-%d" + + # Format of the date displayed in jQuery's Datepicker + # If you change the format, make sure to check if +DATE_PARSER+ can still parse this string. + Wice::Defaults::DATE_FORMAT_JQUERY = "yy-mm-dd" + + + # With Calendar helpers enabled the parameter sent is the string displayed. This lambda will be given a date string in the + # format defined by +DATETIME_FORMAT+ and must generate a DateTime object. + # In many cases Time.zone.parse is enough, for instance, %Y-%m-%d. If you change the format, make sure to check this code + # and modify it if needed. + Wice::Defaults::DATETIME_PARSER = lambda{|datetime_string| + if datetime_string.blank? + nil + elsif Time.zone + Time.zone.parse(datetime_string) + else + Time.parse(datetime_string) + end + } + + # The range of years to display in jQuery Datepicker. + # It can always be changed dynamically with the following javascript: + # $( ".hasDatepicker" ).datepicker( "option", "yearRange", "2000:2042" ); + Wice::Defaults::DATEPICKER_YEAR_RANGE = (from = Date.current.year - 10).to_s + ':' + (from + 15).to_s + + + # With Calendar helpers enabled the parameter sent is the string displayed. This lambda will be given a date string in the + # format defined by +DATETIME+ and must generate a Date object. + # In many cases Date.parse is enough, for instance, %Y-%m-%d. If you change the format, make sure to check this code + # and modify it if needed. + Wice::Defaults::DATE_PARSER = lambda{|date_string| + if date_string.blank? + nil + else + Date.parse(date_string) + end + } + + # Icon to popup the calendar. + Wice::Defaults::CALENDAR_ICON = "/assets/icons/grid/calendar_view_month.png" + + # popup calendar will be shown relative to the popup trigger element or to the mouse pointer + Wice::Defaults::POPUP_PLACEMENT_STRATEGY = :trigger # :pointer + + # The name of the page method (should correspond to Kaminari.config.page_method_name) + Wice::Defaults::PAGE_METHOD_NAME = :page +end diff --git a/config/locales/wice_grid.yml b/config/locales/wice_grid.yml new file mode 100644 index 0000000..c4f2849 --- /dev/null +++ b/config/locales/wice_grid.yml @@ -0,0 +1,550 @@ +en: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Show filter + hide_filter_tooltip: Hide filter + csv_export_tooltip: Export to CSV + filter_tooltip: Filter + reset_filter_tooltip: Reset + boolean_filter_true_label: "yes" + boolean_filter_false_label: "no" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: From + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: To + # The title of the checkox to turn on negation + negation_checkbox_title: Exclude + # link to switch to show all records + show_all_records_label: show all + # tooltip for the link to switch to show all records + show_all_records_tooltip: Show all records + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Are you sure you want to display all records? + # link to paginated view + switch_back_to_paginated_mode_label: back to paginated view + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Switch back to the view with pages + # Title of the date string. + date_string_tooltip: Click to delete + saved_query_panel_title: Saved Queries + save_query_button_label: Save the state of filters + saved_query_deletion_confirmation: Are you sure? + saved_query_deletion_link_title: Delete query + saved_query_link_title: Load query + validates_uniqueness_error: A query with this name already exists + validates_presence_error: Please submit the name of the custom query + query_deleted_message: Saved query deleted. + query_saved_message: Query saved. + select_all: Select all + deselect_all: Remove selection + expand: Expand + collapse: Collapse + + +is: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Sýna síumöguleika + hide_filter_tooltip: Fela síumoguleika + csv_export_tooltip: Flytja út CSV + filter_tooltip: Sía + reset_filter_tooltip: Hreinsa + boolean_filter_true_label: Já + boolean_filter_false_label: Nei + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: Frá + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: Til + # The title of the checkox to turn on negation + negation_checkbox_title: Undanskilja + # link to switch to show all records + show_all_records_label: Sýna allt + # tooltip for the link to switch to show all records + show_all_records_tooltip: Sýna öll gögn + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Ertu viss um að þú viljir láta sýna öll gögn? + # link to paginated view + switch_back_to_paginated_mode_label: Aftur til síðuhorfs + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Aftur til síðuhorfs + # Title of the date string. + date_string_tooltip: Smella á til að eyða + saved_query_panel_title: Vistaðar leitarskipanir + save_query_button_label: Vista síuval + saved_query_deletion_confirmation: Ertu viss? + saved_query_deletion_link_title: Eyða leitarskipun + saved_query_link_title: Hlaða leitarskipun + validates_uniqueness_error: Leitarskipun með þessu nafni er þegar til + validates_presence_error: Vinsamlegast gefið heiti fyrir leitarskipun + query_deleted_message: Vistaðri leitarskipun hefur verið eytt + query_saved_message: leitaskipun hefur verið vistuð + # To do: translate + select_all: Select all + deselect_all: Remove selection + +nl: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Filter tonen + hide_filter_tooltip: Filter verbergen + csv_export_tooltip: Als CSV exporteren + filter_tooltip: Filter + reset_filter_tooltip: Terugstellen + boolean_filter_true_label: ja + boolean_filter_false_label: neen + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: Vanaf + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: Tot + # The title of the checkox to turn on negation + negation_checkbox_title: Uitsluiten + # link to switch to show all records + show_all_records_label: Alle rijen tonen + # tooltip for the link to switch to show all records + show_all_records_tooltip: Alle rijen tonen + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Bent u zeker dat u alle rijen wilt tonen? + # link to paginated view + switch_back_to_paginated_mode_label: Terug naar pagina's + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Terug naar pagina's + # Title of the date string. + date_string_tooltip: Klik om te verwijderen + saved_query_panel_title: Opgeslagen query's + save_query_button_label: Query opslaan + saved_query_deletion_confirmation: Bent u zeker? + saved_query_deletion_link_title: Query verwijderen + saved_query_link_title: Query laden + validates_uniqueness_error: Deze query bestaat reeds + validates_presence_error: Gelieve de naam van de query in te vullen + query_deleted_message: Opgeslagen query verwijderd. + query_saved_message: Query opgeslagen + select_all: Selecteer alle rijen + deselect_all: Deselecteer alle rijen + +fr: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Afficher le filtre + hide_filter_tooltip: Cacher le filtrer + csv_export_tooltip: Exporter en CSV + filter_tooltip: Filtrer + reset_filter_tooltip: Effacer + boolean_filter_true_label: oui + boolean_filter_false_label: non + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: De + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: à + # The title of the checkox to turn on negation + negation_checkbox_title: Exclure + # link to switch to show all records + show_all_records_label: Voir tous + # tooltip for the link to switch to show all records + show_all_records_tooltip: Voir tous les enregistrements + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Etes-vous certain de vouloir afficher tous les enregistrements? + # link to paginated view + switch_back_to_paginated_mode_label: Retour à la vue paginée + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Retour à la vue par pages + # Title of the date string. + date_string_tooltip: Cliquez pour effacer + saved_query_panel_title: Requêtes sauvées + save_query_button_label: Sauver l'état des filtres + saved_query_deletion_confirmation: Etes vous sûr? + saved_query_deletion_link_title: Effacer la requête + saved_query_link_title: Charger la requête + validates_uniqueness_error: Un requête existante porte déjà ce nom + validates_presence_error: Veuillez indiquer le nom de la requête que vous souhaitez sauver + query_deleted_message: La requête a été effacée. + query_saved_message: La requête a été sauvée. + select_all: Sélectionner tout + deselect_all: Désélectionner tout + +ru: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Показать фильтр + hide_filter_tooltip: Спрятать фильтр + csv_export_tooltip: Экспорт в CSV + filter_tooltip: Фильтровать + reset_filter_tooltip: Сброс + boolean_filter_true_label: да + boolean_filter_false_label: нет + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: С + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: До + # The title of the checkox to turn on negation + negation_checkbox_title: Исключая строки + # link to switch to show all records + show_all_records_label: показать все + # tooltip for the link to switch to show all records + show_all_records_tooltip: Показать все записи + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Вы уверены в том, что хотите отобразить все записи? + # link to paginated view + switch_back_to_paginated_mode_label: Назад к постраничному выводу + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Назад к постраничному выводу + # Title of the date string. + date_string_tooltip: Кликните, чтобы удалить дату + saved_query_panel_title: Сохранённые фильтры + save_query_button_label: Сохранить фильтр + saved_query_deletion_confirmation: Вы уверены? + saved_query_deletion_link_title: Удалить сохранённый фильтр + saved_query_link_title: Загрузить сохранённый фильтр + validates_uniqueness_error: Сохранённый фильтр с таким именем уже существует + validates_presence_error: Пожалуйста введите имя сохраняемого фильтра + query_deleted_message: Сохранённый фильтр удалён. + query_saved_message: Сохранённый фильтр сохранён. + select_all: Отметить все + deselect_all: Убрать выделение + + +pt: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Mostrar o filtro + hide_filter_tooltip: Esconder o filtro + csv_export_tooltip: Exportar em CSV + filter_tooltip: Filtrar + reset_filter_tooltip: Reinicializar + boolean_filter_true_label: sim + boolean_filter_false_label: não + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: De + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: a + # The title of the checkox to turn on negation + negation_checkbox_title: Excluir + # link to switch to show all records + show_all_records_label: Ver todos + # tooltip for the link to switch to show all records + show_all_records_tooltip: Ver todos os registos + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Tem a certeza de querer visualizar todos os registos? + # link to paginated view + switch_back_to_paginated_mode_label: Retorno à vista paginada + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Retorno à vista por página + # Title of the date string. + date_string_tooltip: Cliquar para apagar + saved_query_panel_title: Queries gravadas + save_query_button_label: Gravar o estado dos filtros + saved_query_deletion_confirmation: Tem a certeza? + saved_query_deletion_link_title: Apagar a query + saved_query_link_title: Caregar a query + validates_uniqueness_error: Já existe uma query com o mesmo nome + validates_presence_error: Queira indicar o nome da query que deseja gravar + query_deleted_message: A query foi apagada. + query_saved_message: A query foi gravada. + select_all: Selecionar todos + deselect_all: Remover seleção + +pt-BR: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Mostrar o filtro + hide_filter_tooltip: Esconder o filtro + csv_export_tooltip: Exportar em CSV + filter_tooltip: Filtrar + reset_filter_tooltip: Reinicializar + boolean_filter_true_label: sim + boolean_filter_false_label: não + previous_label: « + next_label: » + date_selector_tooltip_from: De + date_selector_tooltip_to: a + negation_checkbox_title: Excluir + show_all_records_label: Ver todos + show_all_records_tooltip: Ver todos os registos + all_queries_warning: Tem certeza que gostaria de visualizar todos os registos? + switch_back_to_paginated_mode_label: Voltar à lista paginada + switch_back_to_paginated_mode_tooltip: Voltar à lista por página + date_string_tooltip: Clique para apagar + saved_query_panel_title: Filtros gravados + save_query_button_label: Gravar o estado dos filtros + saved_query_deletion_confirmation: Tem certeza? + saved_query_deletion_link_title: Apagar o filtro + saved_query_link_title: Carregar o filtro + validates_uniqueness_error: Já existe um filtro com o mesmo nome + validates_presence_error: Indique o nome do filtro que deseja gravar + query_deleted_message: O filtro foi apagado. + query_saved_message: O filtro foi gravado. + select_all: Selecionar todos + deselect_all: Remover seleção + + +sk: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Zobraziť filter + hide_filter_tooltip: Skryť filter + csv_export_tooltip: Exportovať do CSV + filter_tooltip: Filter + reset_filter_tooltip: Zrušiť filtre + boolean_filter_true_label: "áno" + boolean_filter_false_label: "nie" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: Dátum od + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: Dátum do + # The title of the checkox to turn on negation + negation_checkbox_title: Inverzný výber + # link to switch to show all records + show_all_records_label: Zobraziť všetko + # tooltip for the link to switch to show all records + show_all_records_tooltip: Zobrazí všetky záznamy v databáze + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Určite chceš zobraziť všetky záznamy v databáze? + # link to paginated view + switch_back_to_paginated_mode_label: späť na stránkové zobrazenie + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Prepnúť do stránkového zobrazenia + # Title of the date string. + date_string_tooltip: Kliknutím zmažeš + saved_query_panel_title: Uložené filtre/výsledky + save_query_button_label: Uložiť stav filtrov + saved_query_deletion_confirmation: Si si istý? + saved_query_deletion_link_title: Vymazať uložený filter + saved_query_link_title: Nahrať uložený filter + validates_uniqueness_error: Filter s uvedeným názvom už existuje. + validates_presence_error: Prosím zadaj názov uloženého filtra. + query_deleted_message: Uložený filter bol vymazaný. + query_saved_message: Filter bol uložený. + select_all: Vyber všetko + deselect_all: Zrušiť výber + +cz: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Zobrazit filtr + hide_filter_tooltip: Skrýt filtr + csv_export_tooltip: Exportovat do CSV + filter_tooltip: Filtr + reset_filter_tooltip: Zrušit filtr + boolean_filter_true_label: "áno" + boolean_filter_false_label: "ne" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: Dátum od + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: Dátum do + # The title of the checkox to turn on negation + negation_checkbox_title: Inverzní výběr + # link to switch to show all records + show_all_records_label: Zobrazit všechno + # tooltip for the link to switch to show all records + show_all_records_tooltip: Zobrazí všechny záznamy v databáze + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Určitě chceš zobrazit všechny záznamy v databáze? + # link to paginated view + switch_back_to_paginated_mode_label: zpět na stránkové zobrazení + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Přepnout do stránkového zobrazení + # Title of the date string. + date_string_tooltip: Kliknutím zmažeš + saved_query_panel_title: Uložené filtry + save_query_button_label: Uložit aktuálni stav filtrů + saved_query_deletion_confirmation: Seš si jistej? + saved_query_deletion_link_title: Smazat uloženej filtr + saved_query_link_title: Použít uloženej filtr + validates_uniqueness_error: Filtr už existuje. + validates_presence_error: Prosím zadej název filtru. + query_deleted_message: Uložený filtr byl smazán. + query_saved_message: Filtr byl uložen. + select_all: Vyber všechno + deselect_all: Zrušit výběr + +de: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: Filter einblenden + hide_filter_tooltip: Filter ausblenden + csv_export_tooltip: CSV Export + filter_tooltip: Filter + reset_filter_tooltip: Reset + boolean_filter_true_label: "Ja" + boolean_filter_false_label: "Nein" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: Von + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: Bis + # The title of the checkox to turn on negation + negation_checkbox_title: Ausschließen + # link to switch to show all records + show_all_records_label: Alle anzeigen + # tooltip for the link to switch to show all records + show_all_records_tooltip: Alle anzeigen + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: Wollen Sie wirkliche alle Einträge anzeigen? + # link to paginated view + switch_back_to_paginated_mode_label: Zurück zur seitenbasierten Ansicht + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: Zurück zur seitenbasierten Ansicht + # Title of the date string. + date_string_tooltip: Löschen + saved_query_panel_title: Gespeicherte Abfragen + save_query_button_label: Filter speichern + saved_query_deletion_confirmation: Sind Sie sicher? + saved_query_deletion_link_title: Abfrage löschen + saved_query_link_title: Abfrage laden + validates_uniqueness_error: Eine Abfrage mit dieser Bezeichnung existiert bereits! + validates_presence_error: Bitte vergeben Sie einen Namen! + query_deleted_message: Abfrage gelöscht. + query_saved_message: Abfrage gespeichert. + select_all: Alle auswählen + deselect_all: Auswahl aufheben + +zh: + date: + order: + - :year + - :month + - :day + wice_grid: + show_filter_tooltip: 显示过滤 + hide_filter_tooltip: 隐藏过滤 + csv_export_tooltip: 输出CSV档 + filter_tooltip: 过滤 + reset_filter_tooltip: 清除过滤 + boolean_filter_true_label: "是" + boolean_filter_false_label: "否" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: 从 + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: 至 + # The title of the checkox to turn on negation + negation_checkbox_title: 排除 + # link to switch to show all records + show_all_records_label: 显示全部 + # tooltip for the link to switch to show all records + show_all_records_tooltip: 显示全部记录 + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: 确定要显示全部记录? + # link to paginated view + switch_back_to_paginated_mode_label: 回到分页显示 + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: 切换到分页显示 + # Title of the date string. + date_string_tooltip: 按下以清除 + saved_query_panel_title: 查询存储 + save_query_button_label: 储存查询状态 + saved_query_deletion_confirmation: 确定删除? + saved_query_deletion_link_title: 删除查询 + saved_query_link_title: 读取查询 + validates_uniqueness_error: 已存在相同名称的查询 + validates_presence_error: 请为此查询命名 + query_deleted_message: 查询已删除 + query_saved_message: 查询已储存 + select_all: 全选 + deselect_all: 全清 + +ja: + date: + order: + - :年 + - :月 + - :日 + wice_grid: + show_filter_tooltip: フィルタ表示 + hide_filter_tooltip: フィルタ非表示 + csv_export_tooltip: CSVエクスポート + filter_tooltip: フィルタ + reset_filter_tooltip: リセット + boolean_filter_true_label: "yes" + boolean_filter_false_label: "no" + previous_label: « + next_label: » + # Title of the icon clicking on which will show the calendar to set the FROM date. + date_selector_tooltip_from: From + # Title of the icon clicking on which will show the calendar to set the TO date. + date_selector_tooltip_to: To + # The title of the checkox to turn on negation + negation_checkbox_title: 除外する + # link to switch to show all records + show_all_records_label: すべて表示 + # tooltip for the link to switch to show all records + show_all_records_tooltip: 前レコード表示 + # Warning message shown when the user wants to switch to all-records mode + all_queries_warning: 全てのレコードを表示しますか? + # link to paginated view + switch_back_to_paginated_mode_label: 戻る + # tooltip for the link to paginated view + switch_back_to_paginated_mode_tooltip: 戻る + # Title of the date string. + date_string_tooltip: 削除 + saved_query_panel_title: クエリ保存 + save_query_button_label: フィルタ保存 + saved_query_deletion_confirmation: 本当によろしいですか? + saved_query_deletion_link_title: クエリ削除 + saved_query_link_title: クエリのロード + validates_uniqueness_error: 同じ名前がすでに存在します + validates_presence_error: クエリ名を記入して下さい + query_deleted_message: クエリの削除が完了しました + query_saved_message: クエリを保存しました + select_all: 全てを選択 + deselect_all: 選択を解除 + expand: 開く + collapse: 閉じる \ No newline at end of file