fix translation.

This commit is contained in:
Saman Bemel-Benrud
2013-06-20 17:52:50 -04:00
parent f1a98e432e
commit d4582e03bf
4 changed files with 15 additions and 18 deletions
+1 -10
View File
@@ -944,6 +944,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
.entity-editor-pane .preset-icon-wrap {
border-bottom: 1px solid #ccc;
padding: 20px;
height: 100px;
}
.entity-editor-pane .preset-icon-wrap::after {
@@ -960,16 +961,6 @@ a:hover .icon.out-link { background-position: -500px -14px;}
border-bottom-color: #ccc;
}
.entity-editor-pane .preset-icon-wrap > button {
display: block;
height: 60px;
width: 60px;
margin: auto;
border-radius: 4px;
position: relative;
background-color: transparent;
}
.form-field {
margin-bottom: 10px;
width: 100%;
+2 -1
View File
@@ -185,7 +185,8 @@ en:
search: Search
unknown: Unknown
incomplete: <not downloaded>
feature_list: Feature List
feature_list: Feature list
edit: edit feature
background:
title: Background
description: Background settings
+2 -1
View File
@@ -228,7 +228,8 @@
"search": "Search",
"unknown": "Unknown",
"incomplete": "<not downloaded>",
"feature_list": "Feature List"
"feature_list": "Feature list",
"edit": "edit feature"
},
"background": {
"title": "Background",
+10 -6
View File
@@ -34,7 +34,7 @@ iD.ui.EntityEditor = function(context) {
// Update
$header.select('h3')
.text(preset.name());
.text(t('inspector.edit'));
$header.select('.preset-close')
.on('click', function() {
@@ -49,11 +49,15 @@ iD.ui.EntityEditor = function(context) {
$enter = $body.enter().append('div')
.attr('class', 'inspector-body');
$enter.append('div')
.attr('class', 'preset-icon-wrap inspector-inner')
.append('button')
.attr('class', 'preset-reset preset-icon-button')
.call(bootstrap.tooltip()
var headerbutton = $enter.append('div')
.attr('class', 'preset-icon-wrap inspector-inner fillL')
.append('button')
.attr('class', 'preset-list-button preset-reset')
.append('div')
.attr('class', 'label')
.text(preset.name())
headerbutton.call(bootstrap.tooltip()
.title(t('inspector.back_tooltip'))
.placement('right'));