Better translation: Target URL to Link URL.

This commit is contained in:
Lauri Ojansivu 2020-09-18 19:20:16 +03:00
parent 05e3fc31b4
commit 3fc80e1145
7 changed files with 21 additions and 21 deletions

View file

@ -25,10 +25,10 @@ template(name="header")
the list of all boards. the list of all boards.
unless currentSetting.hideLogo unless currentSetting.hideLogo
if currentSetting.customTopLeftCornerLogoImageUrl if currentSetting.customTopLeftCornerLogoImageUrl
if currentSetting.customTopLeftCornerLogoTargetUrl if currentSetting.customTopLeftCornerLogoLinkUrl
a(href="{{currentSetting.customTopLeftCornerLogoTargetUrl}}") a(href="{{currentSetting.customTopLeftCornerLogoLinkUrl}}")
img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0") img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0")
unless currentSetting.customTopLeftCornerLogoTargetUrl unless currentSetting.customTopLeftCornerLogoLinkUrl
img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0") img(src="{{currentSetting.customTopLeftCornerLogoImageUrl}}" height="27" width="auto" margin="0" padding="0")
unless currentSetting.customTopLeftCornerLogoImageUrl unless currentSetting.customTopLeftCornerLogoImageUrl
img(src="{{pathFor '/logo-header.png'}}" alt="") img(src="{{pathFor '/logo-header.png'}}" alt="")

View file

@ -26,11 +26,11 @@ template(name="userFormsLayout")
unless currentSetting.hideLogo unless currentSetting.hideLogo
h1.at-form-landing-logo h1.at-form-landing-logo
if currentSetting.customLoginLogoImageUrl if currentSetting.customLoginLogoImageUrl
if currentSetting.customLoginLogoTargetUrl if currentSetting.customLoginLogoLinkUrl
a(href="{{currentSetting.customLoginLogoTargetUrl}}") a(href="{{currentSetting.customLoginLogoLinkUrl}}")
img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto") img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto")
br br
unless currentSetting.customLoginLogoTargetUrl unless currentSetting.customLoginLogoLinkUrl
img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto") img(src="{{currentSetting.customLoginLogoImageUrl}}" width="300" height="auto")
br br
unless currentSetting.customLoginLogoImageUrl unless currentSetting.customLoginLogoImageUrl

View file

@ -189,17 +189,17 @@ template(name='layoutSettings')
.form-group .form-group
input.wekan-form-control#custom-login-logo-image-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoImageUrl}}") input.wekan-form-control#custom-login-logo-image-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoImageUrl}}")
li.layout-form li.layout-form
.title {{_ 'custom-login-logo-target-url'}} .title {{_ 'custom-login-logo-link-url'}}
.form-group .form-group
input.wekan-form-control#custom-login-logo-target-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoTargetUrl}}") input.wekan-form-control#custom-login-logo-link-url(type="text", placeholder="" value="{{currentSetting.customLoginLogoLinkUrl}}")
li.layout-form li.layout-form
.title {{_ 'custom-top-left-corner-logo-image-url'}} .title {{_ 'custom-top-left-corner-logo-image-url'}}
.form-group .form-group
input.wekan-form-control#custom-top-left-corner-logo-image-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoImageUrl}}") input.wekan-form-control#custom-top-left-corner-logo-image-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoImageUrl}}")
li.layout-form li.layout-form
.title {{_ 'custom-top-left-corner-logo-target-url'}} .title {{_ 'custom-top-left-corner-logo-link-url'}}
.form-group .form-group
input.wekan-form-control#custom-top-left-corner-logo-target-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoTargetUrl}}") input.wekan-form-control#custom-top-left-corner-logo-link-url(type="text", placeholder="" value="{{currentSetting.customTopLeftCornerLogoLinkUrl}}")
li li
button.js-save-layout.primary {{_ 'save'}} button.js-save-layout.primary {{_ 'save'}}

View file

@ -170,7 +170,7 @@ BlazeComponent.extendComponent({
const customLoginLogoImageUrl = $('#custom-login-logo-image-url') const customLoginLogoImageUrl = $('#custom-login-logo-image-url')
.val() .val()
.trim(); .trim();
const customLoginLogoTargetUrl = $('#custom-login-logo-target-url') const customLoginLogoLinkUrl = $('#custom-login-logo-link-url')
.val() .val()
.trim(); .trim();
const customTopLeftCornerLogoImageUrl = $( const customTopLeftCornerLogoImageUrl = $(
@ -178,8 +178,8 @@ BlazeComponent.extendComponent({
) )
.val() .val()
.trim(); .trim();
const customTopLeftCornerLogoTargetUrl = $( const customTopLeftCornerLogoLinkUrl = $(
'#custom-top-left-corner-logo-target-url', '#custom-top-left-corner-logo-link-url',
) )
.val() .val()
.trim(); .trim();
@ -194,9 +194,9 @@ BlazeComponent.extendComponent({
productName, productName,
hideLogo: hideLogoChange, hideLogo: hideLogoChange,
customLoginLogoImageUrl, customLoginLogoImageUrl,
customLoginLogoTargetUrl, customLoginLogoLinkUrl,
customTopLeftCornerLogoImageUrl, customTopLeftCornerLogoImageUrl,
customTopLeftCornerLogoTargetUrl, customTopLeftCornerLogoLinkUrl,
displayAuthenticationMethod, displayAuthenticationMethod,
defaultAuthenticationMethod, defaultAuthenticationMethod,
}, },

View file

@ -515,9 +515,9 @@
"upload-avatar": "Upload an avatar", "upload-avatar": "Upload an avatar",
"uploaded-avatar": "Uploaded an avatar", "uploaded-avatar": "Uploaded an avatar",
"custom-top-left-corner-logo-image-url": "Custom Top Left Corner Logo Image URL", "custom-top-left-corner-logo-image-url": "Custom Top Left Corner Logo Image URL",
"custom-top-left-corner-logo-target-url": "Custom Top Left Corner Logo Target URL", "custom-top-left-corner-logo-link-url": "Custom Top Left Corner Logo Link URL",
"custom-login-logo-image-url": "Custom Login Logo Image URL", "custom-login-logo-image-url": "Custom Login Logo Image URL",
"custom-login-logo-target-url": "Custom Login Logo Target URL", "custom-login-logo-link-url": "Custom Login Logo Link URL",
"username": "Username", "username": "Username",
"view-it": "View it", "view-it": "View it",
"warn-list-archived": "warning: this card is in an list at Archive", "warn-list-archived": "warning: this card is in an list at Archive",

View file

@ -49,7 +49,7 @@ Settings.attachSchema(
type: String, type: String,
optional: true, optional: true,
}, },
customLoginLogoTargetUrl: { customLoginLogoLinkUrl: {
type: String, type: String,
optional: true, optional: true,
}, },
@ -57,7 +57,7 @@ Settings.attachSchema(
type: String, type: String,
optional: true, optional: true,
}, },
customTopLeftCornerLogoTargetUrl: { customTopLeftCornerLogoLinkUrl: {
type: String, type: String,
optional: true, optional: true,
}, },

View file

@ -13,9 +13,9 @@ Meteor.publish('setting', () => {
productName: 1, productName: 1,
hideLogo: 1, hideLogo: 1,
customLoginLogoImageUrl: 1, customLoginLogoImageUrl: 1,
customLoginLogoTargetUrl: 1, customLoginLogoLinkUrl: 1,
customTopLeftCornerLogoImageUrl: 1, customTopLeftCornerLogoImageUrl: 1,
customTopLeftCornerLogoTargetUrl: 1, customTopLeftCornerLogoLinkUrl: 1,
customHTMLafterBodyStart: 1, customHTMLafterBodyStart: 1,
customHTMLbeforeBodyEnd: 1, customHTMLbeforeBodyEnd: 1,
displayAuthenticationMethod: 1, displayAuthenticationMethod: 1,