parent
60eeddbf21
commit
10c1930e4d
@ -0,0 +1,14 @@
|
||||
<!--
|
||||
Collection name attribute represents the name of the menu, e.g., to use menu "File" use "file" or "Help" use "help". You can add new menus.
|
||||
|
||||
|
||||
If you type a relative script file beware that this script is located in $XDG_DATA_HOME/applicationname/
|
||||
|
||||
The following example adds an action with the text "Export..." into the "File" menu
|
||||
|
||||
<KrossScripting>
|
||||
<collection name="file" text="File" comment="File menu">
|
||||
<script name="export" text="Export..." comment="Export content" file="export.py" />
|
||||
</collection>
|
||||
</KrossScripting>
|
||||
-->
|
@ -1,4 +1,15 @@
|
||||
export enum Language {
|
||||
FR = 'FR',
|
||||
EN = 'EN',
|
||||
FR = 'fr',
|
||||
// BR = 'br',
|
||||
// CA = 'ca',
|
||||
// DE = 'de',
|
||||
// EL = 'el',
|
||||
EN = 'en',
|
||||
// ES = 'es',
|
||||
// GL = 'gl',
|
||||
// HU = 'hu',
|
||||
// IT = 'it',
|
||||
// NL = 'nl',
|
||||
// OC = 'oc',
|
||||
// SV = 'sv',
|
||||
}
|
||||
|
@ -1,14 +1,11 @@
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<p>Langue</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="buttons has-addons">
|
||||
<select class="select" [(ngModel)]="currentLang">
|
||||
<option *ngFor="let language of availableLanguages" value="{{ language }}">
|
||||
{{ 'LANGUAGES.' + language | translate }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="selector">
|
||||
<img src="assets/img/icone-langue.svg" alt="langue" />
|
||||
<div class="buttons has-addons">
|
||||
<label for="lang_selector" class="hidden">{{ 'selector.lang' | translate }}</label>
|
||||
<select class="select" id="lang_selector" (change)="setLang()" [(ngModel)]="currentLang">
|
||||
<option *ngFor="let language of availableLanguages" value="{{ language }}">
|
||||
{{ language }} - {{ 'LANGUAGES.' + language | translate }}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in new issue