Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Delete extra locale files and create Locale project #186

Closed
wants to merge 2 commits into from

3 participants

@jrdi

I deleted the extra locale files and created a Locale project to manage it.

Related to issue #177
Related to #176

@jrdi

@radar what do you think about that?

@radar
Owner

I'm fine with this. How do we let people sync with LocaleApp?

@jrdi

They will download the translation's yml directly from LocaleApp.

@jrdi

ping

@NielsKSchjoedt

+1 - Why is this not merged in!!!!

@radar
Owner

@NielsKSchjoedt It is not merged in because we did not yet have enough users asking indignantly for it to be merged in. Thank you for bringing us up to the required number.

@radar radar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
5 README.md
@@ -152,6 +152,11 @@ Given you have these associations ...
<%= f.submit "search" %>
<% end %>
+## I18n
+
+Take a look at our locale file on ``lib/ransack/locale/en.yml`` to check all available messages. You may also be interested in one of the many translations that are available on:
+
+http://www.localeapp.com/projects/2999
## Contributions
View
70 lib/ransack/locale/cs.yml
@@ -1,70 +0,0 @@
-cs:
- ransack:
- search: "vyhledávání"
- predicate: "predikát"
- and: "a"
- or: "nebo"
- any: "kteroukoliv"
- all: "každou"
- combinator: "kombinátor"
- attribute: "atribut"
- value: "hodnota"
- condition: "podmínka"
- sort: "řazení"
- asc: "vzestupné"
- desc: "sestupné"
- predicates:
- eq: "rovno"
- eq_any: "rovno kterékoliv"
- eq_all: "rovno všem"
- not_eq: "nerovno"
- not_eq_any: "nerovno kterékoliv"
- not_eq_all: "nerovno všem"
- matches: "odpovídá"
- matches_any: "odpovídá kterékoliv"
- matches_all: "odpovídá všem"
- does_not_match: "neodpovídá"
- does_not_match_any: "neodpovídá kterékoliv"
- does_not_match_all: "neodpovídá všem"
- lt: "menší než"
- lt_any: "menší než kterákoliv"
- lt_all: "menší než všechny"
- lteq: "menší nebo rovno než"
- lteq_any: "menší nebo rovno než kterákoliv"
- lteq_all: "menší nebo rovno než všechny"
- gt: "větší než"
- gt_any: "větší než kterákoliv"
- gt_all: "větší než všechny"
- gteq: "větší nebo rovno než"
- gteq_any: "větší nebo rovno než kterákoliv"
- gteq_all: "větší nebo rovno než všechny"
- in: "v"
- in_any: "v kterékoliv"
- in_all: "ve všech"
- not_in: "není v"
- not_in_any: "není v kterékoliv"
- not_in_all: "není ve všech"
- cont: "obsahuje"
- cont_any: "obsahuje kterékoliv"
- cont_all: "obsahuje všechny"
- not_cont: "neobsahuje"
- not_cont_any: "neobsahuje kteroukoliv"
- not_cont_all: "neobsahuje všechny"
- start: "začíná s"
- start_any: "začíná s kteroukoliv"
- start_all: "začíná se všemi"
- not_start: "nezačíná s"
- not_start_any: "nezačíná s kteroukoliv"
- not_start_all: "nezačíná se všemi"
- end: "končí s"
- end_any: "končí s kteroukoliv"
- end_all: "končí se všemi"
- not_end: "nekončí s"
- not_end_any: "nekončí s kteroukoliv"
- not_end_all: "nekončí se všemi"
- 'true': "je pravdivé"
- 'false': "není pravdivé"
- present: "je vyplněné"
- blank: "je prázdné"
- 'null': "je null"
- not_null: "není null"
View
70 lib/ransack/locale/es.yml
@@ -1,70 +0,0 @@
-es:
- ransack:
- search: "buscar"
- predicate: "predicado"
- and: "y"
- or: "o"
- any: "cualquier"
- all: "todos"
- combinator: "combinado"
- attribute: "atributo"
- value: "valor"
- condition: "condición"
- sort: "ordernar"
- asc: "ascendente"
- desc: "descendente"
- predicates:
- eq: "es igual a"
- eq_any: "es igual a cualquier"
- eq_all: "es igual a todos"
- not_eq: "no es igual a"
- not_eq_any: "no es igual a cualquier"
- not_eq_all: "no es iguala todos"
- matches: "coincidir"
- matches_any: "coincidir a cualquier"
- matches_all: "coincidir a todos"
- does_not_match: "no coincide"
- does_not_match_any: "no coincide con ninguna"
- does_not_match_all: "no coincide con todos"
- lt: "menor que"
- lt_any: "menor que cualquier"
- lt_all: "menor o igual a"
- lteq: "less than or equal to"
- lteq_any: "menor o igual a cualquier"
- lteq_all: "menor o igual a todos"
- gt: "mayor que"
- gt_any: "mayor que cualquier"
- gt_all: "mayor que todos"
- gteq: "mayor que o igual a"
- gteq_any: "mayor que o igual a cualquier"
- gteq_all: "mayor que o igual a todos"
- in: "en"
- in_any: "en cualquier"
- in_all: "en todos"
- not_in: "no en"
- not_in_any: "no en cualquier"
- not_in_all: "no en todos"
- cont: "contiene"
- cont_any: "contiene cualquier"
- cont_all: "contiene todos"
- not_cont: "no contiene"
- not_cont_any: "no contiene ninguna"
- not_cont_all: "no contiene toda"
- start: "comienza con"
- start_any: "comienza con cualquier"
- start_all: "comienza con toda"
- not_start: "no inicia con"
- not_start_any: "no comienza con cualquier"
- not_start_all: "no inicia con toda"
- end: "termina con"
- end_any: "termina con cualquier"
- end_all: "termina con todo"
- not_end: "no termina con"
- not_end_any: "no termina con cualquier"
- not_end_all: "no termina con todo"
- 'true': "es verdadero"
- 'false': "es falso"
- present: "es presente"
- blank: "está en blanco"
- 'null': "es nula"
- not_null: "no es nula"
View
6 spec/ransack/predicate_spec.rb
@@ -29,9 +29,9 @@ module Ransack
@s.name_cont = 'ric'
@s.result.to_sql.should match /"people"."name" LIKE '%ric%'/
end
- it 'escapes %, _ and \\ in value' do
- @s.name_cont = '%_\\'
- @s.result.to_sql.should match /"people"."name" LIKE '%\\%\\_\\\\%'/
+ it 'escapes % and \\ in value' do
+ @s.name_cont = '%\\'
+ @s.result.to_sql.should match /"people"."name" LIKE '%\\%\\\\%'/
end
end
Something went wrong with that request. Please try again.