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

i18n: post status in calendar view gets wrapped #378

Open
achumakov opened this issue Oct 1, 2016 · 2 comments
Open

i18n: post status in calendar view gets wrapped #378

achumakov opened this issue Oct 1, 2016 · 2 comments

Comments

@achumakov
Copy link
Contributor

Within calendar cell, there is a post status at the right.
Internalional status names could be rather long, e.g. for Russian they get split into 2-3 lines, totally cluttering the page if there are many posts.

Any code to cut status text to some 3-8 characters would be great.

@raduconst
Copy link
Contributor

@achumakov I think that a substr can be applied to the status in the calendar when the number of characters is greater than 8-9. Also, some dots can be added at the end too, like Publié e...
@philipjohn What do you think about this kind of change? Would it be helpful? I think that it would make things look better on the calendar when there's more than one article in a table cell.

@raduconst
Copy link
Contributor

The PR will make the elements from the calendar go from this:

screen shot 2018-01-25 at 11 16 58

to this:

screen shot 2018-01-25 at 11 18 53

I tried to test different cases to see how this would work.

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

No branches or pull requests

4 participants