mirror of https://github.com/rancher/ui.git
Refactor and decouple launch cluster adds new routes for selecting cluster, selecting cluter template, and launching cluster Add first version of cluster template selection logic WIP - First version of cluter-template resource pages & components cluster template index adds cru-cluster-template save cluster template and cluster template revision refactor rke cluster driver and add rke cluster driver to clust temp add cluster template revision page template revision changes more questions refactor cluster networking into component cluster template questions components first itteration of working add question fixups for ct and ctr's general fixes quick revision select on new revision page Move name, expose ctr name, move ctr source Refactor ct/ctr table to use grouped form share member added single template no revisions rows translations translation changes css toggle css toggle on all elements inline override initial apply cluster template initial show or lock when applying a cluster template validation bug first run at windows support overrides abstract check override with component that yields add check for override to most sections bulk remove cluster template revision more check override handle errors better for ctrs translations bugs add toggle to azure cloud provider auth endpoint fix computed override check and refactor fixup question override inputs remove cluster launch route review fixups cluster edit fixup alias properties for overrides |
||
|---|---|---|
| .. | ||
| README.md | ||
| ar-sa.yaml | ||
| de-de.yaml | ||
| en-us.yaml | ||
| es-es.yaml | ||
| fa-ir.yaml | ||
| fr-fr.yaml | ||
| hu-hu.yaml | ||
| it-it.yaml | ||
| ja-jp.yaml | ||
| ko-kr.yaml | ||
| nb-no.yaml | ||
| nl-nl.yaml | ||
| none.yaml | ||
| pt-br.yaml | ||
| ru-ru.yaml | ||
| sh-hr.yaml | ||
| sv-se.yaml | ||
| tr-tr.yaml | ||
| uk-ua.yaml | ||
| vi-vn.yaml | ||
| zh-hans.yaml | ||
| zh-hant.yaml | ||
README.md
Internationalization
Every piece of localizable text is put into the translation files here.
- Files must be named matching a locale in the list at https://github.com/andyearnshaw/Intl.js/tree/master/locale-data/jsonp (with a
.yamlextension).` - The code refers to the appropriate key and it is looked up for the current language to get the string to be displayed.
- If the key does not exist in the current language, the English value is used as a fallback.
- If there is no English value either, the un-translated key is shown
Pluralization
Variables can be pluralized with the syntax:
You have {numPhotos, plural,
=0 {no photos.}
=1 {one photo.}
other {# photos.}}
Docs
See ember-intl wiki for more info about supported features in translations, and ICU for more info about pluralization.
Testing
- You can press shift+L to toggle between the current language and a special
nonelanguage which will show the translation keys for every string. - When starting up the ember server, a warning will be printed for each key that is in
en-usbut missing from another language.