diff options
| author | Teddy Wing | 2018-01-24 17:01:42 +0100 |
|---|---|---|
| committer | Zog | 2018-01-25 17:18:02 +0100 |
| commit | c02c597cfcd8d21c9bf59d41dbd312e9c26289b8 (patch) | |
| tree | ec76fa7f6bc7b43df03e764175d9b04abef2ac5a /config | |
| parent | 5e41dbed021522331532eb0151ac441553be2d13 (diff) | |
| download | chouette-core-c02c597cfcd8d21c9bf59d41dbd312e9c26289b8.tar.bz2 | |
PurchaseWindowDecorator: Convert to new action links interface
Also add a new method `AF83::Decorator.define_instance_method`. Thanks
to Johan for suggesting that and walking me through writing it. This new
method allows us to define methods on the instance decorator. We need
this to preserve the `#bounding_dates` method that was defined in
`PurchaseWindowDecorator`.
Refs #5586
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/purchase_windows.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/purchase_windows.fr.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/locales/purchase_windows.en.yml b/config/locales/purchase_windows.en.yml index c0f402bf4..9ce05a1b9 100644 --- a/config/locales/purchase_windows.en.yml +++ b/config/locales/purchase_windows.en.yml @@ -24,6 +24,7 @@ en: 12: December actions: new: Add a new purchase window + show: "Show" edit: Edit this purchase window destroy: Remove this purchase window destroy_confirm: Are you sure you want destroy this purchase window? diff --git a/config/locales/purchase_windows.fr.yml b/config/locales/purchase_windows.fr.yml index 589546c32..bcc174d93 100644 --- a/config/locales/purchase_windows.fr.yml +++ b/config/locales/purchase_windows.fr.yml @@ -24,6 +24,7 @@ fr: 12: Décembre actions: new: Créer + show: "Consulter" edit: Editer destroy: Supprimer destroy_confirm: Etes vous sûr de supprimer cet calendrier commercial ? |
