Skip to content

Translate and style CodeMirror extensions#218

Merged
winniederidder merged 8 commits intomainfrom
translate-codemirror
Jun 1, 2022
Merged

Translate and style CodeMirror extensions#218
winniederidder merged 8 commits intomainfrom
translate-codemirror

Conversation

@winniederidder
Copy link
Contributor

@winniederidder winniederidder commented May 30, 2022

This PR adds support for translating phrases used by CodeMirror. It also applies typical Papyros-styling to common elements generated by common extensions like search.
Example of the new search panel (open with Ctrl-F)
translate-codemirror

Closes #207

Copy link
Contributor

@pdawyndt pdawyndt left a comment

Choose a reason for hiding this comment

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

LGTM (maybe drop capitalization of "Hoofdlettergevoelig" since all other text is lowercase)

@winniederidder winniederidder force-pushed the highlight-consumed-input branch from fc42dcb to fd9de12 Compare May 30, 2022 18:11
@winniederidder winniederidder force-pushed the translate-codemirror branch from d9aae94 to 597cf2f Compare May 30, 2022 18:11
Copy link
Member

@bmesuere bmesuere left a comment

Choose a reason for hiding this comment

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

I would capitalize all buttons since we already do that for the other buttons in papyros (and all other buttons on Dodona.

In addition, the style is only halfway there. There's a gradient background that is not present in the "neutral" copy-to-dodona button above.

@winniederidder winniederidder force-pushed the highlight-consumed-input branch 3 times, most recently from 5cef67e to 78163e7 Compare May 31, 2022 21:53
@winniederidder winniederidder force-pushed the translate-codemirror branch from 597cf2f to 0805273 Compare May 31, 2022 22:02
@winniederidder
Copy link
Contributor Author

winniederidder commented May 31, 2022

Just to be sure I understood you correctly. Do you want these buttons to also have the neutral color as is used on the Copy-button in Dodona? Example attached below:
panel-buttons

@winniederidder winniederidder requested a review from bmesuere May 31, 2022 22:14
@winniederidder winniederidder force-pushed the translate-codemirror branch from 3df4371 to c3e73fc Compare June 1, 2022 09:43
Base automatically changed from highlight-consumed-input to main June 1, 2022 17:02
@winniederidder winniederidder force-pushed the translate-codemirror branch from 40ba5b6 to 7655b79 Compare June 1, 2022 17:06
@winniederidder winniederidder temporarily deployed to production June 1, 2022 17:07 Inactive
@winniederidder winniederidder merged commit c052eeb into main Jun 1, 2022
@winniederidder winniederidder deleted the translate-codemirror branch June 1, 2022 20:09
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.

Translate and style search & replace toolbar

3 participants