Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Translations for components #557

Closed
billybonks opened this issue Jul 7, 2016 · 2 comments
Closed

Translations for components #557

billybonks opened this issue Jul 7, 2016 · 2 comments

Comments

@billybonks
Copy link
Contributor

i am not sure what is the best method to do this

screen shot 2016-07-07 at 8 44 38 pm

currently i was thinking

  components: {
    'charges-by-type-tab':{
      charges: 'charges'
    }

for this template

<a href={{tabHref}} role="tab" data-toggle="pill">{{pricingType}} charges</a>

which would look like this

<a href={{tabHref}} role="tab" data-toggle="pill">{{pricingType}} {{t 'charges-by-type-tab.charges'}}</a>
@jkleinsc
Copy link
Member

jkleinsc commented Jul 7, 2016

@billybonks works for me.

@billybonks
Copy link
Contributor Author

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants