From bf3466189f1ef7cf4f10c0c94ff66876b90f2694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 4 May 2024 11:03:12 +0200 Subject: [PATCH 01/14] Added new startup options (#411) --- ColorPicker/Pages/SettingsPage.xaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ColorPicker/Pages/SettingsPage.xaml b/ColorPicker/Pages/SettingsPage.xaml index dfd732e9..56b2bd22 100644 --- a/ColorPicker/Pages/SettingsPage.xaml +++ b/ColorPicker/Pages/SettingsPage.xaml @@ -459,6 +459,8 @@ + + Date: Sat, 4 May 2024 11:03:29 +0200 Subject: [PATCH 02/14] Added new tooltip design (#412) --- ColorPicker/App.xaml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/ColorPicker/App.xaml b/ColorPicker/App.xaml index c87dc90a..51e2f918 100644 --- a/ColorPicker/App.xaml +++ b/ColorPicker/App.xaml @@ -1962,6 +1962,43 @@ + From 70ba88a4653a6b7d09feedf4f49b944ffa5de35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 4 May 2024 11:07:39 +0200 Subject: [PATCH 03/14] Updated Setup --- ColorPicker.Setup/Setup.iss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ColorPicker.Setup/Setup.iss b/ColorPicker.Setup/Setup.iss index 376d2ce9..5361d4df 100644 --- a/ColorPicker.Setup/Setup.iss +++ b/ColorPicker.Setup/Setup.iss @@ -2,8 +2,8 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "ColorPicker Max" -#define MyAppVersion "6.2.1.2404" -#define MyAppFullVersion "6.2.1.2404" +#define MyAppVersion "6.3.0.2404" +#define MyAppFullVersion "6.3.0.2404-pre1" #define MyAppPublisher "Lo Corporation" #define MyAppURL "https://leocorporation.dev/" #define MyAppExeName "ColorPicker.exe" From 42137f59a044d2aaffd9bdc306f48442d9481188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sat, 4 May 2024 11:07:47 +0200 Subject: [PATCH 04/14] Version 6.3.0.2404-pre1 --- ColorPicker/Classes/Global.cs | 2 +- ColorPicker/ColorPicker.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ColorPicker/Classes/Global.cs b/ColorPicker/Classes/Global.cs index 59fc6bec..84dd8caf 100644 --- a/ColorPicker/Classes/Global.cs +++ b/ColorPicker/Classes/Global.cs @@ -93,7 +93,7 @@ public static class Global internal static string SettingsPath => $@"{FileSys.AppDataPath}\Léo Corporation\ColorPicker Max\Settings.xml"; public static string LastVersionLink => "https://raw.githubusercontent.com/Leo-Corporation/LeoCorp-Docs/master/Liens/Update%20System/ColorPicker/5.0/Version.txt"; - public static string Version => "6.2.1.2404"; + public static string Version => "6.3.0.2404-pre1"; public static string HiSentence { diff --git a/ColorPicker/ColorPicker.csproj b/ColorPicker/ColorPicker.csproj index 87de86ee..626c0fb8 100644 --- a/ColorPicker/ColorPicker.csproj +++ b/ColorPicker/ColorPicker.csproj @@ -11,7 +11,7 @@ ColorPicker Maximize your creativity. https://github.com/Leo-Corporation/ColorPicker - 6.2.1.2404 + 6.3.0.2404-pre1 MIT logo.png CPM.ico From 4e6917528dd74766d0b75400bb4cd27954ed7cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sun, 5 May 2024 10:58:33 +0200 Subject: [PATCH 05/14] Added translations (#413) --- ColorPicker/Properties/Resources.Designer.cs | 9 + ColorPicker/Properties/Resources.en-US.resx | 3 + ColorPicker/Properties/Resources.fr-FR.resx | 3 + ColorPicker/Properties/Resources.resx | 3 + ColorPicker/Properties/Resources.zh-CN.resx | 565 ++++++++++--------- 5 files changed, 302 insertions(+), 281 deletions(-) diff --git a/ColorPicker/Properties/Resources.Designer.cs b/ColorPicker/Properties/Resources.Designer.cs index 48971087..2a0321c9 100644 --- a/ColorPicker/Properties/Resources.Designer.cs +++ b/ColorPicker/Properties/Resources.Designer.cs @@ -717,6 +717,15 @@ public static string Discover { } } + /// + /// Looks up a localized string similar to You can drag and drop images here. + /// + public static string DragImagesHere { + get { + return ResourceManager.GetString("DragImagesHere", resourceCulture); + } + } + /// /// Looks up a localized string similar to Edit in Selector. /// diff --git a/ColorPicker/Properties/Resources.en-US.resx b/ColorPicker/Properties/Resources.en-US.resx index 6527bce6..e46400fc 100644 --- a/ColorPicker/Properties/Resources.en-US.resx +++ b/ColorPicker/Properties/Resources.en-US.resx @@ -780,4 +780,7 @@ Right click on a color to remove it + + You can drag and drop images here + \ No newline at end of file diff --git a/ColorPicker/Properties/Resources.fr-FR.resx b/ColorPicker/Properties/Resources.fr-FR.resx index f9e76375..6e3c1b5a 100644 --- a/ColorPicker/Properties/Resources.fr-FR.resx +++ b/ColorPicker/Properties/Resources.fr-FR.resx @@ -784,4 +784,7 @@ Faites un clic droit sur une couleur pour la supprimer + + Vous pouvez glisser-déposer des images ici + \ No newline at end of file diff --git a/ColorPicker/Properties/Resources.resx b/ColorPicker/Properties/Resources.resx index 5d93c509..8e418f8c 100644 --- a/ColorPicker/Properties/Resources.resx +++ b/ColorPicker/Properties/Resources.resx @@ -760,4 +760,7 @@ Right click on a color to remove it + + You can drag and drop images here + \ No newline at end of file diff --git a/ColorPicker/Properties/Resources.zh-CN.resx b/ColorPicker/Properties/Resources.zh-CN.resx index 541939ce..6826cbc9 100644 --- a/ColorPicker/Properties/Resources.zh-CN.resx +++ b/ColorPicker/Properties/Resources.zh-CN.resx @@ -1,6 +1,6 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ColorPicker - + - + 下午好 - + 晚安 - + 晚上好 - + 已固定 - + 主页 - + 设置 - + 历史 - + 工具 - + 详细信息 - + 选择器 - + 拾色器 - + RGB - + HEX - + HSV - + HSL - + CMYK - + XYZ - + YIQ - + YUV - + 书签 - + ColorPicker Max - + 色轮 - + 颜色工具 - + 创建 - + 转换 - + 文本 - + 调色板 - + 渐变 - + 圆圈 - + 光盘 - + 色调 - + 颜色是有效的。 - + 颜色是无效的。 - + 字体 - + 大小 - + 前景色 - + 背景色 - + 对比度 - + 亮度 - + 色相 - + - + - + 旋转 - + 开发者工具 - + CSS - + 开始使用 - + 快速操作 - + 探索 - + 选择一个颜色 - + 从彩色光盘中选择 - + 从 RGB 转换 - + 获取对比度 - + 生成调色板 - + 生成一个渐变 - + R - + G - + B - + 空白书签 - + 颜色 - + 渐变 - + 调色板 - + 您确定要清空这些书签吗? 此操作是不可逆转的。 - + 检查更新 - + 更新 - + 安装 - + 主题 - + 浅色 - + 深色 - + 许可证 - + 应用 - + 查看许可证 - + 更改 ColorPicker 主题。 - + 语言 - + ColorPicker 需要重新启动才能应用更改。 您想现在重新启动吗? - + 默认 - + ColorPicker 是最新的。 - + 有更新可用。 - + 要安装更新,ColorPicker 需要重新启动。 你想继续吗? - + 安装版本 - + 版本 - + 更改 ColorPicker 的语言。 - + 有更新时显示通知 - + 通知 - + 通知设置。 - + 启动时检查更新 - + 启动时在默认页面 - + 启动时 - + 启动时应用的设置。 - + 数据和隐私 - + 管理您的数据和隐私。 - + 导入设置 - + 导出设置 - + 设置已成功导出。 - + 设置已成功导入。 为了完成该过程,ColorPicker 将重新启动。 - + 重置设置 - + 启用 Synethia 自定义体验。 - + 重置 Synethia 数据 - + 您确定要重置所有设置吗? - + 您确定要重置所有 Synethia 数据吗? 您的个性化体验将会丢失; 此操作无法取消。 - + 颜色选项 - + 默认颜色类型 - + ColorPicker 处理颜色的方式。 - + 键盘快捷键 - + 使用键盘快捷键 - + 编辑快捷方式 - + 按组合键。 - + ColorPicker 需要重新启动才能应用更改。 - + 重置键盘快捷键 - + 开始选择 - + 复制颜色 - + 文本工具设置。 - + Max - + 您想忽略此窗口并继续使用 ColorPicker 吗? - + 下一步 - + 跳过 - + 产品特点 - + 我同意 - + 不,谢谢 - + 介绍 Synethia - + Synethia 是一种使您的体验个性化的算法。 - + Synethia 仅在 ColorPicker 中收集数据 - + Synethia 随后将分析这些数据以提供独特的体验 - + 主页仪表板将根据您的使用情况推荐操作 - + 您的数据以匿名方式存储在您的设备上。 绝对不会向 Léo Corporation 发送任何数据。 - + 开始吧! - + 一切准备就绪 - + ColorPicker 的选择器功能使您可以通过将光标移动到屏幕上并按键盘快捷键来选择屏幕上的任何颜色。 所选颜色将显示在预览框中,其代码将以所需的颜色类型复制到剪贴板。 - + ColorPicker 的转换器功能允许您将任何颜色类型转换为另一种颜色类型。 颜色类型有 RGB、HEX、HSV、HSL、CMYK、XYZ、YIQ 和 YUV。 您可以输入任何这些格式的颜色代码,并查看其他格式的相应代码。 - + ColorPicker 的渐变功能可让您生成具有特定旋转角度的随机两站渐变。 您可以看到渐变及其 CSS 代码的预览。 您还可以将渐变导出为 CSS 代码并在网页设计项目中使用它。 - + 欢迎使用 ColorPicker,这是用于拾取、转换和生成颜色的终极工具。 - + XAML - + 按 {0} 开始或停止从屏幕上选择颜色。 - + 复制 RGB - + 复制 HEX - + 复制 HSL - + 复制 HSV - + 复制 XYZ - + 复制 YIQ - + 复制 YUV - + 复制 CMYK - + 生成一个随机颜色 - + 添加到书签 - + 从书签中删除 - + 生成新的颜色 - + 删除 - + AI 生成 - + 使用 AI 生成颜色 - + 自定义 AI 生成设置。 - + OpenAI API 密钥 - + 生成 - + 请给 AI 一个提示。 - + 请在设置中定义 API 密钥。 - + 单色 - + 模型 - + 要使用 AI 功能,您需要 OpenAI API 密钥。 - + 十进制 - + 十六进制 - + 复制小数 - + 海风,绯红夕阳,魔法森林,电光梦境,沙漠海市蜃楼,午夜小夜曲,霓虹银河,嘉禾,薰衣草迷雾,热带天堂,火与冰,神秘月光,翡翠优雅,樱花,南极光,钢铁城市之光, 复古浪漫,蓝宝石梦境,琥珀余辉,丝绒触感,蒲公英祝福,都市丛林,玫瑰花瓣呢喃,冰冷苔原,巧克力喜悦,港湾倒影,风声呢喃,活力光谱,粉彩遐想,月光草甸 - + 获取创意 - + 在选择器中编辑 - + 转换 - + 和谐 - + 获得和谐 - + 互补 - + 拆分互补 - + 三元组 - + 近似 - + 单色 - + 便携模式下不支持自动更新,请重新下载ColorPicker Max。 - + 输入提示,利用 AI 的力量生成颜色 - + RGB 分隔符 - + 角度 - + 步骤 - + 生成数量 - + 第一种颜色 - + 第二种颜色 - + 图像提取器 - + 颜色 - + 选择图像 - + 浏览 - + 删除图像 - + 频率 - + 精度(要忽略的像素) - + 像素 - + 清除 - + 提取颜色 - + 正在提取颜色,请稍候。 - + 导出到 CSV - + 逗号分隔 (,) - + 以分号分隔 (;) - + 为每个项目选择一种格式。 - + 导出 - + 包含频率 - + 要显示的颜色数量 - + 排序 - + 提取的颜色将显示在这里。 - + 对比网格 - + 评分 - + 4.5+ (AA) - + 7+ (AAA) - + 全部 - + 前景色详细信息 - + 背景色详细信息 - + 使用大写字母表示十六进制颜色 - + 添加注释 - + 保存 - + 高亮颜色 - + 描述颜色 - + 名称 - + 生成名称 - + 输入颜色以生成名称 - + 收藏 - + 添加到收藏 - + 添加收藏 - + 添加 - + 添加到 {0} - + 从 {0} 中删除 - + 右键单击颜色将其删除 - + + 您可以在这里拖放图片 + + \ No newline at end of file From 133703aa2190db2a0dbe56b46337c7da70e273ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Peyronnet?= Date: Sun, 5 May 2024 10:59:05 +0200 Subject: [PATCH 06/14] Added Drag and drop section (#413) --- ColorPicker/Pages/ImageExtractorPage.xaml | 23 +++++++++++++++++ ColorPicker/Pages/ImageExtractorPage.xaml.cs | 26 ++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/ColorPicker/Pages/ImageExtractorPage.xaml b/ColorPicker/Pages/ImageExtractorPage.xaml index 51a78b20..87963cf2 100644 --- a/ColorPicker/Pages/ImageExtractorPage.xaml +++ b/ColorPicker/Pages/ImageExtractorPage.xaml @@ -101,6 +101,29 @@ Visibility="Collapsed"> + + + + + +