mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
i18n Add Occitan language (#80)
* Create oc.js * Add OC to locale list * Add OC * Add OC to list * Update spacedeck.html * Update root.js
This commit is contained in:
@@ -105,6 +105,9 @@
|
||||
<label class="radio" v-bind:class="{checked: user.prefs_language=='fr'}" v-on:click="save_user_language('fr')">
|
||||
<input type="radio" id="user-preferences_language" name="language" value="fr"><span>Français</span>
|
||||
</label>
|
||||
<label class="radio" v-bind:class="{checked: user.prefs_language=='oc'}" v-on:click="save_user_language('oc')">
|
||||
<input type="radio" id="user-preferences_language" name="language" value="oc"><span>Occitan</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -84,8 +84,10 @@
|
||||
window.locales.en = {};
|
||||
window.locales.de = {};
|
||||
window.locales.fr = {};
|
||||
window.locales.oc = {};
|
||||
window.locales.en.translation = {% include "./../locales/en.js" %};
|
||||
window.locales.de.translation = {% include "./../locales/de.js" %};
|
||||
window.locales.fr.translation = {% include "./../locales/fr.js" %};
|
||||
window.locales.oc.translation = {% include "./../locales/oc.js" %};
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user