This commit is contained in:
John Firebaugh
2013-02-04 12:08:30 -08:00
parent 0450e57acf
commit 7ddfcaed39
2 changed files with 5 additions and 3 deletions

View File

@@ -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]);

View File

@@ -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"
}
};