Translated map button
This commit is contained in:
parent
2bd0cc77b6
commit
5c5d1f0d16
5
js/dist/forum.js
vendored
5
js/dist/forum.js
vendored
@ -16654,8 +16654,9 @@ flarum_forum_app__WEBPACK_IMPORTED_MODULE_0___default().initializers.add('justov
|
|||||||
(_homeLink$parentEleme = homeLink.parentElement) == null ? void 0 : _homeLink$parentEleme.append(globalMapLink);
|
(_homeLink$parentEleme = homeLink.parentElement) == null ? void 0 : _homeLink$parentEleme.append(globalMapLink);
|
||||||
m.render(globalMapLink, m((flarum_common_components_Link__WEBPACK_IMPORTED_MODULE_8___default()), {
|
m.render(globalMapLink, m((flarum_common_components_Link__WEBPACK_IMPORTED_MODULE_8___default()), {
|
||||||
href: "/global-map",
|
href: "/global-map",
|
||||||
id: "map-link"
|
id: "map-link",
|
||||||
}, "Carte"));
|
"class": "Button Button--primary"
|
||||||
|
}, flarum_forum_app__WEBPACK_IMPORTED_MODULE_0___default().translator.trans('justoverclock-users-map-location.forum.global-map.linkToMap')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
2
js/dist/forum.js.map
vendored
2
js/dist/forum.js.map
vendored
File diff suppressed because one or more lines are too long
@ -101,8 +101,8 @@ extend(HeaderPrimary.prototype, 'onupdate', function() {
|
|||||||
globalMapLink.setAttribute('id', 'global-map-link');
|
globalMapLink.setAttribute('id', 'global-map-link');
|
||||||
homeLink.parentElement?.append(globalMapLink);
|
homeLink.parentElement?.append(globalMapLink);
|
||||||
|
|
||||||
m.render(globalMapLink, <Link href="/global-map" id="map-link">
|
m.render(globalMapLink, <Link href="/global-map" id="map-link" class="Button Button--primary">
|
||||||
Carte
|
{app.translator.trans('justoverclock-users-map-location.forum.global-map.linkToMap')}
|
||||||
</Link>);
|
</Link>);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,6 @@ justoverclock-users-map-location:
|
|||||||
locationNotFound: Location not found
|
locationNotFound: Location not found
|
||||||
locationCleared: Your location has been deleted
|
locationCleared: Your location has been deleted
|
||||||
global-map:
|
global-map:
|
||||||
|
linkToMap: Map
|
||||||
title: Global Map
|
title: Global Map
|
||||||
title2: Map of members
|
title2: Map of members
|
@ -13,5 +13,6 @@ justoverclock-users-map-location:
|
|||||||
locationNotFound: Ville ou commune non trouvée dans ce pays
|
locationNotFound: Ville ou commune non trouvée dans ce pays
|
||||||
locationCleared: Votre localité a été supprimée
|
locationCleared: Votre localité a été supprimée
|
||||||
global-map:
|
global-map:
|
||||||
|
linkToMap: Carte
|
||||||
title: Carte globale
|
title: Carte globale
|
||||||
title2: Carte des membres
|
title2: Carte des membres
|
Loading…
Reference in New Issue
Block a user