update core.yaml

This commit is contained in:
NaVis0mple
2024-01-18 15:36:05 +08:00
parent 6523ae6f94
commit 2b0e0f6349
3 changed files with 6 additions and 5 deletions

View File

@@ -786,8 +786,9 @@ en:
inch: in
max_length_reached: "This string is longer than the maximum length of {maxChars} characters. Anything exceeding that length will be truncated."
set_today: "Sets the value to today."
set_mapillary: "Sets the current ID of mapillary"
show_mapillary_from_field: "Show image on viewer"
set_photo_from_viewer: "Store this photo on the currently selected map object"
set_photo_from_field: "Use the currently displayed photo"
show_photo_from_field: "Open image in viewer"
background:
title: Background
description: Background Settings

View File

@@ -183,7 +183,7 @@ export function uiFieldText(field, context) {
.append('button')
.attr('class', 'form-field-button mapillary-set-current')
.call(svgIcon('#fas-rotate'))
.attr('title', t('inspector.set_mapillary'))
.attr('title', t('inspector.set_photo_from_field'))
.on('click', function(d3_event) {
d3_event.preventDefault();
const image = service.getActiveImage();
@@ -221,7 +221,7 @@ export function uiFieldText(field, context) {
.append('button')
.attr('class', 'form-field-button mapillary-show-view')
.call(svgIcon('#fas-eye'))
.attr('title', t('inspector.show_mapillary_from_field'))
.attr('title', t('inspector.show_photo_from_field'))
.on('click', function(d3_event) {
d3_event.preventDefault();
if ( !utilGetSetValue(input).trim()) return;

View File

@@ -116,7 +116,7 @@ export function uiPhotoviewer(context) {
})
.append('div')
.call(svgIcon('#iD-operation-merge'))
.attr('title', t('inspector.set_mapillary'));
.attr('title', t('inspector.set_photo_from_viewer'));
}
function buildResizeListener(target, eventName, dispatch, options) {