Add locales dynamics (opensimplif)
This commit is contained in:
parent
e596f71b07
commit
68951c3a53
28 changed files with 169 additions and 59 deletions
|
@ -26,7 +26,7 @@ describe PreferenceListDossier do
|
|||
describe 'dossier_id' do
|
||||
subject { super()[:dossier_id] }
|
||||
|
||||
it { expect(subject[:libelle]).to eq 'ID' }
|
||||
it { expect(subject[:libelle]).to eq 'N°' }
|
||||
it { expect(subject[:table]).to be_nil }
|
||||
it { expect(subject[:attr]).to eq 'id' }
|
||||
it { expect(subject[:attr_decorate]).to eq 'id' }
|
||||
|
@ -62,7 +62,7 @@ describe PreferenceListDossier do
|
|||
describe 'state' do
|
||||
subject { super()[:state] }
|
||||
|
||||
it { expect(subject[:libelle]).to eq 'Statut' }
|
||||
it { expect(subject[:libelle]).to eq 'État' }
|
||||
it { expect(subject[:table]).to be_nil }
|
||||
it { expect(subject[:attr]).to eq 'state' }
|
||||
it { expect(subject[:attr_decorate]).to eq 'display_state' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue