mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-01 10:21:04 +00:00
Add more missing language strings for colorbar's wheel properties
This commit is contained in:
parent
a6aa84981f
commit
3cdb187487
@ -286,6 +286,21 @@ sort_by_alpha = Sort by Alpha
|
|||||||
ascending = Ascending
|
ascending = Ascending
|
||||||
descending = Descending
|
descending = Descending
|
||||||
|
|
||||||
|
[color_popup]
|
||||||
|
transparent_color_sel = Transparent Color Selected
|
||||||
|
index = Index
|
||||||
|
|
||||||
|
[color_wheel]
|
||||||
|
discrete = Discrete
|
||||||
|
no_harmonies = Without Harmonies
|
||||||
|
complementary = Complementary
|
||||||
|
monochromatic = Monochromatic
|
||||||
|
analogous = Analogous
|
||||||
|
split_complementary = Split-Complementary
|
||||||
|
triadic = Triadic
|
||||||
|
tetradic = Tetradic
|
||||||
|
square = Square
|
||||||
|
|
||||||
[commands]
|
[commands]
|
||||||
About = About
|
About = About
|
||||||
AddColor = Add {0} Color to Palette
|
AddColor = Add {0} Color to Palette
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include "app/context_access.h"
|
#include "app/context_access.h"
|
||||||
#include "app/doc.h"
|
#include "app/doc.h"
|
||||||
#include "app/file/palette_file.h"
|
#include "app/file/palette_file.h"
|
||||||
|
#include "app/i18n/strings.h"
|
||||||
#include "app/modules/gfx.h"
|
#include "app/modules/gfx.h"
|
||||||
#include "app/modules/gui.h"
|
#include "app/modules/gui.h"
|
||||||
#include "app/modules/palettes.h"
|
#include "app/modules/palettes.h"
|
||||||
@ -179,7 +180,7 @@ ColorPopup::ColorPopup(const ColorButtonOptions& options)
|
|||||||
nullptr)
|
nullptr)
|
||||||
, m_simpleColors(nullptr)
|
, m_simpleColors(nullptr)
|
||||||
, m_oldAndNew(Shade(2), ColorShades::ClickEntries)
|
, m_oldAndNew(Shade(2), ColorShades::ClickEntries)
|
||||||
, m_maskLabel("Transparent Color Selected")
|
, m_maskLabel(Strings::color_popup_transparent_color_sel())
|
||||||
, m_canPin(options.canPinSelector)
|
, m_canPin(options.canPinSelector)
|
||||||
, m_insideChange(false)
|
, m_insideChange(false)
|
||||||
, m_disableHexUpdate(false)
|
, m_disableHexUpdate(false)
|
||||||
@ -196,7 +197,7 @@ ColorPopup::ColorPopup(const ColorButtonOptions& options)
|
|||||||
m_simpleColors = new SimpleColors(this, &m_tooltips);
|
m_simpleColors = new SimpleColors(this, &m_tooltips);
|
||||||
}
|
}
|
||||||
|
|
||||||
ButtonSet::Item* item = m_colorType.addItem("Index");
|
ButtonSet::Item* item = m_colorType.addItem(Strings::color_popup_index());
|
||||||
item->setFocusStop(false);
|
item->setFocusStop(false);
|
||||||
if (!options.showIndexTab)
|
if (!options.showIndexTab)
|
||||||
item->setVisible(false);
|
item->setVisible(false);
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "app/ui/color_wheel.h"
|
#include "app/ui/color_wheel.h"
|
||||||
|
|
||||||
#include "app/color_utils.h"
|
#include "app/color_utils.h"
|
||||||
|
#include "app/i18n/strings.h"
|
||||||
#include "app/pref/preferences.h"
|
#include "app/pref/preferences.h"
|
||||||
#include "app/ui/skin/skin_theme.h"
|
#include "app/ui/skin/skin_theme.h"
|
||||||
#include "app/ui/status_bar.h"
|
#include "app/ui/status_bar.h"
|
||||||
@ -474,15 +475,15 @@ void ColorWheel::onResize(ui::ResizeEvent& ev)
|
|||||||
void ColorWheel::onOptions()
|
void ColorWheel::onOptions()
|
||||||
{
|
{
|
||||||
Menu menu;
|
Menu menu;
|
||||||
MenuItem discrete("Discrete");
|
MenuItem discrete(Strings::color_wheel_discrete());
|
||||||
MenuItem none("Without Harmonies");
|
MenuItem none(Strings::color_wheel_no_harmonies());
|
||||||
MenuItem complementary("Complementary");
|
MenuItem complementary(Strings::color_wheel_complementary());
|
||||||
MenuItem monochromatic("Monochromatic");
|
MenuItem monochromatic(Strings::color_wheel_monochromatic());
|
||||||
MenuItem analogous("Analogous");
|
MenuItem analogous(Strings::color_wheel_analogous());
|
||||||
MenuItem split("Split-Complementary");
|
MenuItem split(Strings::color_wheel_split_complementary());
|
||||||
MenuItem triadic("Triadic");
|
MenuItem triadic(Strings::color_wheel_triadic());
|
||||||
MenuItem tetradic("Tetradic");
|
MenuItem tetradic(Strings::color_wheel_tetradic());
|
||||||
MenuItem square("Square");
|
MenuItem square(Strings::color_wheel_square());
|
||||||
menu.addChild(&discrete);
|
menu.addChild(&discrete);
|
||||||
if (m_colorModel != ColorModel::NORMAL_MAP) {
|
if (m_colorModel != ColorModel::NORMAL_MAP) {
|
||||||
menu.addChild(new MenuSeparator);
|
menu.addChild(new MenuSeparator);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user