bootstrap-for-ember icon indicating copy to clipboard operation
bootstrap-for-ember copied to clipboard

added support for translating breadcrumbs via ember-i18n

Open ashrafhasson opened this issue 10 years ago • 0 comments

Added support to translate breadcrumbs via ember-i18n. While it's possible to translate various components' properties, breadcrumbs is the odd one that is automagically constructed from the route name but if the breadcrumbs was customized to show a specific name, it isn't possible to bind that to a translated property. I've changed the code slightly to expect a name ending with Translation to be treated differently, it fetches the translated property on the route and sets that as the displayName.

ashrafhasson avatar Nov 14 '14 17:11 ashrafhasson