Skip to content

Commit

Permalink
Add gettext dependency in gmf examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Feb 28, 2018
1 parent de89d81 commit b268fc3
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions contribs/gmf/examples/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ goog.require('gmf.authentication.module');

/** @type {!angular.Module} **/
gmfapp.authentication.module = angular.module('gmfapp', [
'gettext',
gmf.authentication.module.name
]);

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/backgroundlayerselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ goog.require('ol.View');

/** @type {!angular.Module} **/
gmfapp.backgroundlayerselector.module = angular.module('gmfapp', [
'gettext',
gmf.backgroundlayerselector.module.name,
gmf.map.component.name,
gmf.theme.Themes.module.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/contextualdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.contextualdata.module = angular.module('gmfapp', [
'gettext',
gmf.contextualdata.module.name,
gmf.map.component.name,
ngeo.misc.filters.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ goog.require('ngeo.misc.WMSTime');

/** @type {!angular.Module} **/
gmfapp.datepicker.module = angular.module('gmfapp', [
'gettext',
ngeo.misc.datepickerComponent.name,
ngeo.misc.WMSTime.module.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/displayquerygrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ goog.require('ol.style.Style');

/** @type {!angular.Module} **/
gmfapp.displayquerygrid.module = angular.module('gmfapp', [
'gettext',
gmf.datasource.Manager.module.name,
gmf.layertree.component.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/displayquerywindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ goog.require('ngeo.map.module');

/** @type {!angular.Module} **/
gmfapp.displayquerywindow.module = angular.module('gmfapp', [
'gettext',
gmf.datasource.Manager.module.name,
gmf.layertree.component.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/drawfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.drawfeature.module = angular.module('gmfapp', [
'gettext',
gmf.drawing.module.name,
gmf.map.component.name,
ngeo.map.module.name, // for ngeo.map.FeatureOverlay, perhaps remove me
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/editfeature.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ goog.require('ol.source.ImageWMS');

/** @type {!angular.Module} **/
gmfapp.editfeature.module = angular.module('gmfapp', [
'gettext',
gmf.authentication.module.name,
gmf.editing.EditFeature.module.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/editfeatureselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ goog.require('ol.source.Vector');

/** @type {!angular.Module} **/
gmfapp.editfeatureselector.module = angular.module('gmfapp', [
'gettext',
gmf.authentication.module.name,
gmf.editing.editFeatureSelectorComponent.name,
gmf.layertree.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/elevation.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.elevation.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
gmf.raster.module.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/featurestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ goog.require('ol.source.Vector');

/** @type {!angular.Module} **/
gmfapp.featurestyle.module = angular.module('gmfapp', [
'gettext',
gmf.drawing.featureStyleComponent.name,
gmf.map.component.name,
ngeo.misc.FeatureHelper.module.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/filterselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.filterselector.module = angular.module('gmfapp', [
'gettext',
gmf.authentication.module.name,
gmf.datasource.Manager.module.name,
gmf.layertree.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/importdatasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.importdatasource.module = angular.module('gmfapp', [
'gettext',
gmf.datasource.Manager.module.name,
gmf.import.importdatasourceComponent.name,
gmf.layertree.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/layertree.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.layertree.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.component.name,
gmf.layertree.TreeManager.module.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/layertreeadd.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.layertreeadd.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.component.name,
gmf.layertree.TreeManager.module.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/mobilemeasure.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.mobilemeasure.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
gmf.permalink.Permalink.module.name,
gmf.mobile.measure.lengthComponent.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/mouseposition.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.mouseposition.module = angular.module('gmfapp', [
'gettext',
gmf.map.module.name,
]);

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/objectediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ goog.require('ol.source.Vector');

/** @type {!angular.Module} **/
gmfapp.objectediting.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.component.name,
gmf.layertree.TreeManager.module.name,
gmf.map.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/objecteditinghub.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ goog.require('ngeo.format.XSDAttribute');

/** @type {!angular.Module} **/
gmfapp.objecteditinghub.module = angular.module('gmfapp', [
'gettext',
gmf.editing.XSDAttributes.module.name,
gmf.objectediting.Manager.module.name,
gmf.theme.Themes.module.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ goog.require('ol.style.Style');

/** @type {!angular.Module} **/
gmfapp.permalink.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
]);

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.print.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.component.name,
gmf.map.component.name,
gmf.print.component.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ goog.require('ol.style.Style');

/** @type {!angular.Module} **/
gmfapp.profile.module = angular.module('gmfapp', [
'gettext',
gmf.permalink.Permalink.module.name,
gmf.map.component.name,
gmf.profile.module.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ goog.require('ol.style.Style');

/** @type {!angular.Module} **/
gmfapp.search.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
gmf.search.module.name,
gmf.theme.Themes.module.name,
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ goog.require('ngeo.message.modalComponent');

/** @type {!angular.Module} **/
gmfapp.share.module = angular.module('gmfapp', [
'gettext',
ngeo.message.modalComponent.name,
gmf.permalink.shareComponent.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ goog.require('ol.source.OSM');

/** @type {!angular.Module} **/
gmfapp.simple.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
]);

Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/themeselector.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ goog.require('gmf.layertree.TreeManager');

/** @type {!angular.Module} **/
gmfapp.themeselector.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.TreeManager.module.name,
gmf.theme.module.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/timeslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ goog.require('ngeo.misc.WMSTime');

/** @type {!angular.Module} **/
gmfapp.timeslider.module = angular.module('gmfapp', [
'gettext',
gmf.layertree.timeSliderComponent.name,
ngeo.misc.WMSTime.module.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/wfspermalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ goog.require('ol.style.Circle');

/** @type {!angular.Module} **/
gmfapp.wfspermalink.module = angular.module('gmfapp', [
'gettext',
gmf.map.component.name,
gmf.query.windowComponent.name,
]);
Expand Down
1 change: 1 addition & 0 deletions contribs/gmf/examples/xsdattributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ goog.require('ol.Feature');

/** @type {!angular.Module} **/
gmfapp.xsdattributes.module = angular.module('gmfapp', [
'gettext',
gmf.editing.XSDAttributes.module.name,
gmf.theme.Themes.module.name,
ngeo.editing.attributesComponent.name,
Expand Down

0 comments on commit b268fc3

Please sign in to comment.