mirror of
https://github.com/aseprite/aseprite.git
synced 2024-09-02 13:09:27 +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
|
||||
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]
|
||||
About = About
|
||||
AddColor = Add {0} Color to Palette
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "app/context_access.h"
|
||||
#include "app/doc.h"
|
||||
#include "app/file/palette_file.h"
|
||||
#include "app/i18n/strings.h"
|
||||
#include "app/modules/gfx.h"
|
||||
#include "app/modules/gui.h"
|
||||
#include "app/modules/palettes.h"
|
||||
@ -179,7 +180,7 @@ ColorPopup::ColorPopup(const ColorButtonOptions& options)
|
||||
nullptr)
|
||||
, m_simpleColors(nullptr)
|
||||
, m_oldAndNew(Shade(2), ColorShades::ClickEntries)
|
||||
, m_maskLabel("Transparent Color Selected")
|
||||
, m_maskLabel(Strings::color_popup_transparent_color_sel())
|
||||
, m_canPin(options.canPinSelector)
|
||||
, m_insideChange(false)
|
||||
, m_disableHexUpdate(false)
|
||||
@ -196,7 +197,7 @@ ColorPopup::ColorPopup(const ColorButtonOptions& options)
|
||||
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);
|
||||
if (!options.showIndexTab)
|
||||
item->setVisible(false);
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "app/ui/color_wheel.h"
|
||||
|
||||
#include "app/color_utils.h"
|
||||
#include "app/i18n/strings.h"
|
||||
#include "app/pref/preferences.h"
|
||||
#include "app/ui/skin/skin_theme.h"
|
||||
#include "app/ui/status_bar.h"
|
||||
@ -474,15 +475,15 @@ void ColorWheel::onResize(ui::ResizeEvent& ev)
|
||||
void ColorWheel::onOptions()
|
||||
{
|
||||
Menu menu;
|
||||
MenuItem discrete("Discrete");
|
||||
MenuItem none("Without Harmonies");
|
||||
MenuItem complementary("Complementary");
|
||||
MenuItem monochromatic("Monochromatic");
|
||||
MenuItem analogous("Analogous");
|
||||
MenuItem split("Split-Complementary");
|
||||
MenuItem triadic("Triadic");
|
||||
MenuItem tetradic("Tetradic");
|
||||
MenuItem square("Square");
|
||||
MenuItem discrete(Strings::color_wheel_discrete());
|
||||
MenuItem none(Strings::color_wheel_no_harmonies());
|
||||
MenuItem complementary(Strings::color_wheel_complementary());
|
||||
MenuItem monochromatic(Strings::color_wheel_monochromatic());
|
||||
MenuItem analogous(Strings::color_wheel_analogous());
|
||||
MenuItem split(Strings::color_wheel_split_complementary());
|
||||
MenuItem triadic(Strings::color_wheel_triadic());
|
||||
MenuItem tetradic(Strings::color_wheel_tetradic());
|
||||
MenuItem square(Strings::color_wheel_square());
|
||||
menu.addChild(&discrete);
|
||||
if (m_colorModel != ColorModel::NORMAL_MAP) {
|
||||
menu.addChild(new MenuSeparator);
|
||||
|
Loading…
Reference in New Issue
Block a user