Skip to content

Cheat sheet & tips

Sandra Monnier edited this page Apr 16, 2026 · 5 revisions

IntelliJ

shift command f to find in files.

shift command a to seek a command.

shift command o to open a file.

shift shift to seek everywhere.

MacOS

shift command 4 to select a rectangle to screenshot.

PostgreSQL

see the PostgreSQL page

GitHub

filter status != Done AND watcher = <a-user-id-number> ORDER BY created DESC to have all work items watched by someone.

Wegas

Add german language to a YUI PMG

Changes to do in the scenario

  • create a i18n_de server script. Copy in it the content of wegas-private > wegas-pmg > scripts > server-scripts > locales > de.js
  • add the new language
  • translate the phase names (in Game properties)
  • translate managementApproval
  • translate userApproval
  • add or translate content
  • make a user manual auf Deutsch

To test it

  • enable the language in the Properties trainer page
  • choose the new language as a player

Whenever you would like to add another language, you will need to add translations file in wegas-private

  • scripts > server-scripts > locales (optional, just to keep a trace to use by another scenario)
  • wegas-pmg > js > i18n and reference the new file
  • wegas-pmg > js > wegas-pmg-loader.js : wegas-i18n-pmg-

DeepL

List of supported language codes : https://developers.deepl.com/docs/getting-started/supported-languages

Clone this wiki locally