Skip to content
Snippets Groups Projects
Commit e197db9d authored by mathias.chouet's avatar mathias.chouet
Browse files

Traduction

parent a85378aa
No related branches found
No related tags found
1 merge request!29Resolve "Remplacer mdbootstrap par angular-material"
...@@ -12,13 +12,17 @@ import { I18nService } from "../../services/internationalisation/internationalis ...@@ -12,13 +12,17 @@ import { I18nService } from "../../services/internationalisation/internationalis
}) })
export class GraphTypeSelectComponent implements IObservable { export class GraphTypeSelectComponent implements IObservable {
private _entries: GraphType[] = [GraphType.Histogram, GraphType.Scatter]; private _entries: GraphType[] = [GraphType.Histogram, GraphType.Scatter];
private _entriesLabels: string[] = ["Histogramme", "XY"]; private _entriesLabels: string[] = [];
private _selected: GraphType; private _selected: GraphType;
private _observable: Observable; private _observable: Observable;
constructor(private intlService: I18nService) { constructor(private intlService: I18nService) {
this._observable = new Observable(); this._observable = new Observable();
this._entriesLabels = [
this.intlService.localizeText("INFO_PARAMFIELD_GRAPH_TYPE_HISTOGRAM"),
"XY"
];
} }
public get entries(): GraphType[] { public get entries(): GraphType[] {
......
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
"INFO_PABPUISSANCE_TITRE": "Fish ladder: dissipated power", "INFO_PABPUISSANCE_TITRE": "Fish ladder: dissipated power",
"INFO_PARALLELSTRUCTURE_TITRE": "Parallel structures", "INFO_PARALLELSTRUCTURE_TITRE": "Parallel structures",
"INFO_PARAMFIELD_GRAPH_TYPE": "Graph type", "INFO_PARAMFIELD_GRAPH_TYPE": "Graph type",
"INFO_PARAMFIELD_GRAPH_TYPE_HISTOGRAM": "Histogram",
"INFO_PARAMFIELD_IN_CALCULATION": "In calculation", "INFO_PARAMFIELD_IN_CALCULATION": "In calculation",
"INFO_PARAMFIELD_IN_CALCULATION_INITIAL_VALUE": "initial value", "INFO_PARAMFIELD_IN_CALCULATION_INITIAL_VALUE": "initial value",
"INFO_PARAMFIELD_PARAMCALCULER": "Calculate", "INFO_PARAMFIELD_PARAMCALCULER": "Calculate",
......
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
"INFO_PABPUISSANCE_TITRE": "Passe à bassin : puissance dissipée", "INFO_PABPUISSANCE_TITRE": "Passe à bassin : puissance dissipée",
"INFO_PARALLELSTRUCTURE_TITRE": "Lois d'ouvrages", "INFO_PARALLELSTRUCTURE_TITRE": "Lois d'ouvrages",
"INFO_PARAMFIELD_GRAPH_TYPE": "Type de graphe", "INFO_PARAMFIELD_GRAPH_TYPE": "Type de graphe",
"INFO_PARAMFIELD_GRAPH_TYPE_HISTOGRAM": "Histogramme",
"INFO_PARAMFIELD_IN_CALCULATION": "En calcul", "INFO_PARAMFIELD_IN_CALCULATION": "En calcul",
"INFO_PARAMFIELD_IN_CALCULATION_INITIAL_VALUE": "valeur initiale", "INFO_PARAMFIELD_IN_CALCULATION_INITIAL_VALUE": "valeur initiale",
"INFO_PARAMFIELD_PARAMCALCULER": "calculer", "INFO_PARAMFIELD_PARAMCALCULER": "calculer",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment