Changed pid from 'org.eclipse.smarthome.core.i18nprovider' to 'org.eclipse.smarthome.i18n' (#127)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
pull/130/head
Christoph Weitkamp 2019-10-16 08:57:31 +02:00 committed by Kai Kreuzer
parent c09ce6ef4f
commit fca2365008
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
var output = $('#geolocation')
$.getJSON(window.location.origin + '/rest/services/org.eclipse.smarthome.core.i18nprovider/config', function(response) {
$.getJSON(window.location.origin + '/rest/services/org.eclipse.smarthome.i18n/config', function(response) {
window.language = response;
if (!response.location) {
@ -37,7 +37,7 @@
function send(configuration) {
$.ajax({
url : window.location.origin + '/rest/services/org.eclipse.smarthome.core.i18nprovider/config',
url : window.location.origin + '/rest/services/org.eclipse.smarthome.i18n/config',
data : JSON.stringify(configuration),
type : 'PUT',
dataType : 'json',

View File

@ -94,7 +94,7 @@
if (locale) {
deferred.resolve(locale);
} else {
$http.get('/rest/services/org.eclipse.smarthome.core.i18nprovider/config')
$http.get('/rest/services/org.eclipse.smarthome.i18n/config')
.then(function (response) {
var language;
if (!response.data.language) {

View File

@ -121,7 +121,7 @@
getLocale: function () {
const DEFAULT_LOCALE = 'en-UK';
this.$http
.get('services/org.eclipse.smarthome.core.i18nprovider/config')
.get('services/org.eclipse.smarthome.i18n/config')
.then(response => {
const body = response.body;
let selectedLang = DEFAULT_LOCALE;