mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 15:05:32 +00:00
i18n
This commit is contained in:
@@ -151,7 +151,7 @@ iD.ui.layerswitcher = function(context) {
|
||||
}
|
||||
|
||||
adjustments.append('a')
|
||||
.text('Fix misalignment')
|
||||
.text(t('layerswitcher.fix_misalignment'))
|
||||
.attr('href', '#')
|
||||
.classed('alignment-toggle', true)
|
||||
.classed('expanded', false)
|
||||
@@ -179,7 +179,7 @@ iD.ui.layerswitcher = function(context) {
|
||||
.on('click', nudge);
|
||||
|
||||
nudge_container.append('button')
|
||||
.text('reset')
|
||||
.text(t('layerswitcher.reset'))
|
||||
.attr('class', 'reset')
|
||||
.on('click', function() {
|
||||
context.background().offset([0, 0]);
|
||||
|
||||
@@ -170,6 +170,8 @@ locale.en = {
|
||||
layerswitcher: {
|
||||
title: "Background",
|
||||
description: "Background Settings",
|
||||
percent_brightness: "{opacity}% brightness"
|
||||
percent_brightness: "{opacity}% brightness",
|
||||
fix_misalignment: "Fix misalignment",
|
||||
reset: "reset"
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user