-
Notifications
You must be signed in to change notification settings - Fork 64
Fix appearance and some bugs #333
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
Conversation
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
|
@nickvergessen @juliushaertl @kesselb @Rello I am asking everyone for approval. It would be nice to add changes to a future version of NC 23. |
| <p><?php p($l->t('Operating System').':'); ?> <strong id="numFilesStorage"><?php p($_['osname']); ?></strong></p> | ||
| <p><?php p($l->t('CPU').':'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <p><?php p($l->t('Operating System').':'); ?> <strong id="numFilesStorage"><?php p($_['osname']); ?></strong></p> | |
| <p><?php p($l->t('CPU').':'); ?> | |
| <p><?php p($l->t('Operating System:')); ?> <strong id="numFilesStorage"><?php p($_['osname']); ?></strong></p> | |
| <p><?php p($l->t('CPU:')); ?> |
etc so french translators can add their space before the colon
Signed-off-by: Valdnet <[email protected]>
|
Corrected. Please approve and merge 😉. |
|
@nickvergessen @juliushaertl @kesselb @Rello I am asking everyone for approval 😉. |
Signed-off-by: Valdnet <[email protected]> Co-authored-by: Thomas Citharel <[email protected]>
Signed-off-by: Valdnet <[email protected]>
Signed-off-by: Valdnet <[email protected]>
|
@tcitworld Thanks for checking. I added a condition for "SWAP". Please approval 😉. |
Signed-off-by: Valdnet <[email protected]>
jancborchardt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much better design-wise, nice detail fixes! :)
|
Thanks 😉. |
|
@nickvergessen Please do a manual backport for NC 22, 21 and 20. Bot won't do this 😬. And is it still possible to attach the changes to NC23? |
|
I won't do that. Not my area. |
|
@juliushaertl Please do a manual backport for NC 22, 21 and 20. Bot won't do this 😬. And is it still possible to attach the changes to NC23? |
Improved appearance and repair of text strings. _Before change:_  _After change:_  _In Polish 😁:_  Solves Issue: nextcloud#324 and nextcloud#232. --- _Before change:_  _After change:_  --- _Before change:_  _After change_:  --- _Before change:_  _After change:_  --- _Before change:_  _After change:_  --- _Before change:_  _After change:_  --- _Before change:_  _After change:_  Signed-off-by: Valdnet <[email protected]>
| <?php p($l->t('Type:')); ?> | ||
| <?php p($l->t('Type').':'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The colon should always be part of the translated string, as it may be changed by the translation.
For instance in French a (small nonbreakable) space is expected before a double punctuation like a colon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are absolutely right 👍, but in this case an exception is made, because using a colon in this PHP code with an entire text string means that the entire text string in the application is not displayed 😬. This was one of the problems that this change arose. I haven't found any other sensible solution to this problem, which doesn't mean it needs to be corrected.
I would like to ask developers who know more about PHP programming to look at this code, and maybe they will find a solution, and will be happy to implement it, so that French translators can correctly translate these text strings.
@nickvergessen could you have a look at it and advise us something?
@come-nc Unless you know the solution to this problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already mentioned it here that this is necessary: https://github.com/nextcloud/serverinfo/pull/333/files#r752009811
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lemme checkout the branch and move it in, to see what breaks but it makes no sense to break
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already mentioned it here that this is necessary: https://github.com/nextcloud/serverinfo/pull/333/files#r752009811
@nickvergessen Yes, I know this and I remember it, but after using a colon text string, I do not know why, but this text string is not displayed at all. This was a problem before. Cannot use a colon in a text string in PHP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved appearance and repair of text strings.
Before change:
After change:
In Polish 😁:
Solves Issue: #324 and #232.
Before change:
After change:
Before change:
After change:
Before change:
After change:
Before change:
After change:
Before change:
After change:
Before change:
After change:
Signed-off-by: Valdnet [email protected]