Skip to content

chore(i18n): Add hint for translators#18600

Merged
Antreesy merged 1 commit into
mainfrom
rakekniven-patch-1
Jul 9, 2026
Merged

chore(i18n): Add hint for translators#18600
Antreesy merged 1 commit into
mainfrom
rakekniven-patch-1

Conversation

@rakekniven

@rakekniven rakekniven commented Jul 9, 2026

Copy link
Copy Markdown
Member

After issue at Transifex

After issue at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

@Antreesy Antreesy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'm not sure it will propagate to two inline strings, but trusting you here 😁

@Antreesy Antreesy merged commit 020b99e into main Jul 9, 2026
54 checks passed
@Antreesy Antreesy deleted the rakekniven-patch-1 branch July 9, 2026 11:20
@Antreesy

Antreesy commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Yeah, we synced and it doesn't

image | image

FYI @rakekniven - should be extracted from the template to the script session, with each string on new line, something like this:

computed: {
banInfo() {
return [
// TRANSLATORS name of a moderator who banned a participant
{ label: t('spreed', 'Banned by:'), value: this.ban.moderatorDisplayName },
// TRANSLATORS Date and time of ban creation
{ label: t('spreed', 'Date:'), value: formatDateTime(this.ban.bannedTime * 1000, 'shortDateWithTime') },
// TRANSLATORS Internal note for moderators, usually a reason for this ban
{ label: t('spreed', 'Note:'), value: this.ban.internalNote },
]
},
},

@rakekniven

Copy link
Copy Markdown
Member Author

Ok, I was following the docs:

https://docs.nextcloud.com/server/latest/developer_manual/basics/translations.html#vue

@Antreesy

Antreesy commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Added in docs: nextcloud/documentation#15295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants