Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 0d076d0b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update HistoryFilter for internationalization.

parent 68bdd60a
......@@ -193,6 +193,7 @@
'is equal to': 'égal à',
'Is Over': 'Is Over',
'Javascript API': 'Javascript API',
'key': 'clé',
'Labels': 'Etiquettes',
'Last Name': 'Nom de famille',
'Last name': 'Nom de famille',
......@@ -382,6 +383,7 @@
'User ID': 'User ID',
'users': 'users',
'Usual': 'Habituel',
'value': 'valeur',
'Value already in database or empty': 'Value already in database or empty',
'value already in database or empty': 'value already in database or empty',
'Verify Password': 'Verify Password',
......
......@@ -17,7 +17,7 @@ plugins = PluginManager()
plugins.dbui.app_css = 'static/my.css'
plugins.dbui.app_debug = 'static/src'
plugins.dbui.app_libmin = 'static/track_events-min.js'
plugins.dbui.app_lg = 'static/locale/myapp-lang-fr.js'
plugins.dbui.app_lg = 'static/track_events/locale/myapp-lang-fr.js'
plugins.dbui.app_script = 'static/app.js'
# plugins.dbui.app_script_dir = None
......
......@@ -87,7 +87,7 @@ gridModifier.append_filter(('end_date', '<=', T('less or equal to')))
gridModifier.append_filter(
('data', 'like', 'key(s) is(are) equal to value(s). The jocker is %'),
fieldLabel=T('Data'),
header=["key", "value"],
header=[T("key"), T("value")],
numColumns=2,
numRows=3,
xtype='xtablefield')
......
......@@ -3,7 +3,7 @@
*
*/
Ext.define('TrackEvents.locale.form.field.UserData', {
Ext.define("TrackEvents.locale.form.field.UserData", {
override : "TrackEvents.form.field.UserData",
textAddMenu: "ajouter",
textAddTitle: "Entrer une nouvelle propriété",
......@@ -20,9 +20,19 @@ Ext.define('TrackEvents.locale.form.field.UserData', {
textValue: "valeur"
});
Ext.define('TrackEvents.locale.form.plugin.UserDataConsistency', {
override : "TrackEvents.form.plugin.UserDataConsistency",
textError : "Erreur en mettant à jour l'historique...",
textInfo : "Information...",
Ext.define("TrackEvents.locale.form.plugin.UserDataConsistency", {
override: "TrackEvents.form.plugin.UserDataConsistency",
textError: "Erreur en mettant à jour l'historique...",
textInfo: "Information...",
textUpdate: "Mise à jour de l'historique..."
});
Ext.define("TrackEvents.locale.grid.HistoryFilter", {
override: "TrackEvents.grid.HistoryFilter",
textEventData: "Donnée d'un évènement",
textFunding: "Financement" ,
textMetadata: "Métadonnée",
textObject: "Objet",
textPeople: "Personne",
textPeriod: "Période"
});
\ No newline at end of file
......@@ -11,6 +11,14 @@ Ext.define('TrackEvents.grid.HistoryFilter', {
extend: 'Dbui.grid.Filter',
alias: 'widget.xhistorygridfilter',
// private properties for internationalization
textEventData: "Event data",
textFunding: "Funding" ,
textMetadata: "Metadata",
textObject: "Object",
textPeople: "People",
textPeriod: "Period",
// jshint strict: false
// private method requests by the component model of ExtJS
......@@ -77,23 +85,23 @@ Ext.define('TrackEvents.grid.HistoryFilter', {
// create the new item structure by adding sub-panel
me.items = [{
title: "Metadata",
title: me.textMetadata,
items: metadata
}, {
title: "People",
title: me.textPeople,
items: people
}, {
title: "Object",
title: me.textObject,
items: object
}, {
title: "Event data",
title: me.textEventData,
items: eventdata,
layout: 'fit'
}, {
title: "Period",
title: me.textPeriod,
items: period
}, {
title: "Funding",
title: me.textFunding,
items: funding,
layout: 'fit'
}];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment