Omar Saleem 5226a0659a
new ozone theme: solarized dark (#1)
* feat: adding solarized dark theme to ozone

* fix: variable not defined in header

* fix: added string for selecting theme in menu

* fix: added message hash for string

* feat: copied solarized dark translations into msg hashes

* fix: forgot to change name of enum label after copying

* first pass of new colors

* added selection border and fixed sublabel color

* sublabel color from blue to muted gray

* trying cyan for sublabel

* adjusted selected text color to match philosophy from solarized website

* testing what the entries_ colors do

* chose colors for entries_, adjusted other border and bgs

* match selection border to sublabel color

* trying gray for sublabel

* accidentally put the color in the wrong place, reverting and updating

* trying to change selected option color to orange

* not feeling orange, lets try teal

* try for orange border

* try for magenta border

* try for violet border

* trying blue border again

* trying omar blue bc why not

* reverting to regular blue for icons and green for border

* try magenta for footer border

* trying font color for footer border

* trying to get message background to show

* can't get it to render, but changed message background to violet

* testing sidebar changes

* sidebar colors

* lighter sidebar color

* trying gray sidebar

* try a gradient

* screwed up one of the coordinates

* reversing gradient

* attempting gradient with colors i made up

* accidentally wrote gradient to dracula instead of solarized dark

* adding gradient to the top, reversing bottom gradient

* randomly trying shuffling bottom gradient coords

* moving top right coordinate somewhere else

* swapped top two bottom coords to see

* swapped them back, i got lucky and things were right

* think i figured out the order,  BL, BR, TL, TR

* making background gradient lil darker

* fixed coords

* lessening gradient effect

* lessening gradient effect, but by making darker instead of lighter

* of course, messed up two coords

* removed top and bottom gradients

* dark and flat sidebar

* forgot to change running background

* made running background a bit less transparent since this is a low contrast theme
2021-10-15 03:16:13 -04:00
..
2020-06-21 19:03:09 +03:00
2020-06-04 12:40:25 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-22 19:35:14 +03:00
2020-06-30 15:20:30 +03:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-19 11:24:08 +02:00
2020-06-12 08:06:30 +02:00
2020-12-05 22:10:29 +01:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2021-10-08 13:53:49 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-06-12 08:06:30 +02:00
2020-11-23 22:54:07 +08:00
2020-06-30 15:20:30 +03:00
2021-05-17 00:09:21 +08:00
2021-03-11 22:15:42 +08:00
2020-07-14 12:03:29 +03:00
2020-08-24 23:13:16 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2021-03-11 22:15:42 +08:00
2020-06-30 15:20:30 +03:00
2020-09-19 16:54:44 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2020-06-30 15:20:30 +03:00
2021-05-17 00:09:21 +08:00
2020-08-24 23:13:16 +03:00
2020-09-19 16:54:44 +03:00
2020-06-22 23:20:29 +03:00
2020-06-30 15:20:30 +03:00

Internationalization Workflow

For Translators

Use Crowdin

  1. Register user account at https://crowdin.com/
  2. Join the project https://crowdin.com/project/retroarch/
  3. Select your language to translate
  4. Click the file name msg_hash_us.json and the editor should open
  5. Select an untranslated (red) string from the list
  6. Type translation and save
  7. Next string...

Links:

Request New Language

You can open a new issue and @guoyunhe to add new language.

For Maintainers

Set Up

Install Java, Python3 and Git

Synchronize

cd intl
python3 crowin_sync.py

Manage Crowdin Project

  1. You need to be project admin. Please contact @guoyunhe or @twinaphex
  2. Go to https://crowdin.com/project/retroarch/settings
  3. You can manage languages, members etc. here

Links:

Message File Format

  1. Must NOT contain #else
  2. Must NOT have multiple-line string syntax
    // bad
    MSG_HASH(
      MENU_ENUM_SUBLABEL_CHEEVOS_ENABLE,
      "Compete to earn custom-made achievements in classic games.\n"
      "For more information, visit http://retroachievements.org"
      )
    // good
    MSG_HASH(
      MENU_ENUM_SUBLABEL_CHEEVOS_ENABLE,
      "Compete to earn custom-made achievements in classic games.\nFor more information, visit http://retroachievements.org"
      )
    
  3. Must NOT contain lowercase letters in key name
    // bad (x)
    MSG_HASH(
      MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_800x240,
      "2D (High Resolution)"
      )
    // good (X)
    MSG_HASH(
      MENU_ENUM_LABEL_VALUE_CTR_VIDEO_MODE_2D_800X240,
      "2D (High Resolution)"
      )
    

Add New Languages

  1. Go to Crowdin and add the language
  2. Run Crowdin script to download new translations
  3. Add new language into menu (see #10787)