Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some fixes and comments for translators #2358

Merged
merged 2 commits into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/js/components/Poll/PollInfoLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ export default {
if (this.access === 'private') {
subTexts.push({
id: this.access,
text: t('polls', 'A hidden poll from {name}', { name: this.ownerDisplayName }),
text: t('polls', 'A private poll from {name}', { name: this.ownerDisplayName }),
icon: '',
class: '',
})
} else {
subTexts.push({
id: this.access,
text: t('polls', 'A public poll from {name}', { name: this.ownerDisplayName }),
text: t('polls', 'An open accessible poll from {name}', { name: this.ownerDisplayName }),
icon: '',
class: '',
})
Expand Down
4 changes: 2 additions & 2 deletions src/js/components/Poll/PollInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ export default {
return t('polls', 'Private poll')
}
if (this.important) {
return t('polls', 'Open and relevant poll')
return t('polls', 'Open accessible and relevant poll')
}
return t('polls', 'Open poll')
return t('polls', 'Open accessible poll')
},

accessClass() {
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/PollList/PollItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default {
}

if (this.poll.access === 'open') {
return t('polls', 'Open poll')
return t('polls', 'Open accessible poll')
}

return t('polls', 'Private poll')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
</div>

<CheckboxRadioSwitch :checked.sync="allAccessLimited" type="switch">
{{ t('polls', 'Disallow open polls') }}
{{ t('polls', 'Disallow open accessible polls') }}
</CheckboxRadioSwitch>
<div v-if="allAccessLimited" class="settings_details">
<div>{{ t('polls','Allow creating open polls for the following groups') }}</div>
<div>{{ t('polls','Allow creating open accessible polls for the following groups') }}</div>
<Multiselect v-model="allAccessGroups"
class="stretch"
label="displayName"
Expand Down
4 changes: 2 additions & 2 deletions src/js/components/Shares/ShareItemAllUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<template>
<UserItem type="internalAccess"
:user-id="t('polls', 'Open poll')"
:display-name="t('polls', 'Open poll')"
:user-id="t('polls', 'Open accessible poll')"
:display-name="t('polls', 'Open accessible poll')"
:disabled="access==='private'"
show-email
is-no-user>
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/User/UserItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default {
if (this.disabled) {
return t('polls', 'This poll is private')
}
return t('polls', 'This is an open poll')
return t('polls', 'This is an open accessible poll')
}

if (this.resolveInfo && ['contactGroup', 'circle'].includes(this.type)) {
Expand Down
6 changes: 3 additions & 3 deletions src/js/store/modules/polls.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ const state = {
},
{
id: 'open',
title: t('polls', 'Open polls'),
titleExt: t('polls', 'Open polls'),
description: t('polls', 'A complete list with all open polls on this site, regardless who is the owner.'),
title: t('polls', 'Open accessible polls'),
titleExt: t('polls', 'Open accessible polls'),
description: t('polls', 'A complete list with all open accessible polls on this site, regardless who is the owner.'),
icon: 'icon-mask-md-navigation-open',
pinned: false,
createDependent: true,
Expand Down