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

Allow more whitespace in translations #177

Merged
merged 1 commit into from
Oct 28, 2019
Merged

Allow more whitespace in translations #177

merged 1 commit into from
Oct 28, 2019

Conversation

PFischbeck
Copy link
Contributor

This allows whitespace between the opening bracket and the first quotation mark in translations, e.g.

t(
    'bookmarks',
    'In order to display real screenshots of your bookmarked websites, Bookmarks can use a third-party service to generate those.'
)

Some more background on this: while working on the bookmarks app, I noticed some strings were not found by the translation tool, e.g.
https://github.com/nextcloud/bookmarks/blob/f440271d210e01fad864b03441c819bbd63217af/src/components/ViewAdmin.vue#L8
The formatting with newlines prevented the translations from being recognized and shown in Transifex.

This allows whitespace between the opening bracket and the first quotation mark in translations, e.g. t(  'bookmarks', 'Add bookmark').

Signed-off-by: Philipp Fischbeck <philipp.fischbeck@hpi.de>
@juliusknorr juliusknorr merged commit 056ee51 into nextcloud:master Oct 28, 2019
@PFischbeck PFischbeck deleted the patch-1 branch October 28, 2019 13:16
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.

3 participants