@oxy.so/bloom 20.0.0 → 21.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/adoption-matrix.mdx +6 -7
- package/docs/agent-avatar.mdx +8 -5
- package/docs/agent-creator.mdx +13 -11
- package/docs/multi-agent-chat.mdx +6 -2
- package/docs/public-parts.mdx +2 -2
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js +16 -11
- package/lib/commonjs/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/commonjs/agent-avatar/character.js +4 -4
- package/lib/commonjs/agent-avatar/use-static-portraits.js +51 -0
- package/lib/commonjs/agent-avatar/use-static-portraits.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreator.js +4 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.web.js +12 -8
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +93 -48
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/commonjs/agent-creator/CustomColorPicker.js +431 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +212 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/ShapeSilhouette.js +4 -3
- package/lib/commonjs/agent-creator/ShapeSilhouette.js.map +1 -1
- package/lib/commonjs/agent-creator/context.js.map +1 -1
- package/lib/commonjs/agent-creator/messages.js +22 -1
- package/lib/commonjs/agent-creator/messages.js.map +1 -1
- package/lib/commonjs/agent-creator/paint.js +19 -7
- package/lib/commonjs/agent-creator/paint.js.map +1 -1
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +28 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +22 -1
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +22 -1
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +22 -1
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +22 -1
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +22 -1
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +22 -1
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +22 -1
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +22 -1
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +22 -1
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +22 -1
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +22 -1
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +22 -1
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +22 -1
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +22 -1
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/data.js +2 -2
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/selected-agent-preview.js +19 -0
- package/lib/commonjs/multi-agent-chat/selected-agent-preview.js.map +1 -0
- package/lib/module/agent-avatar/VectorCharacterAvatar.js +16 -11
- package/lib/module/agent-avatar/VectorCharacterAvatar.js.map +1 -1
- package/lib/module/agent-avatar/character.js +4 -4
- package/lib/module/agent-avatar/use-static-portraits.js +44 -0
- package/lib/module/agent-avatar/use-static-portraits.js.map +1 -0
- package/lib/module/agent-creator/AgentCreator.js +4 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.web.js +4 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorBase.js +89 -44
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/module/agent-creator/CustomColorPicker.js +426 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +207 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/ShapeSilhouette.js +4 -3
- package/lib/module/agent-creator/ShapeSilhouette.js.map +1 -1
- package/lib/module/agent-creator/context.js.map +1 -1
- package/lib/module/agent-creator/messages.js +22 -1
- package/lib/module/agent-creator/messages.js.map +1 -1
- package/lib/module/agent-creator/paint.js +18 -7
- package/lib/module/agent-creator/paint.js.map +1 -1
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +26 -0
- package/lib/module/agent-creator/shared.js.map +1 -1
- package/lib/module/locale/translations/ar.js +22 -1
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +22 -1
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +22 -1
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +22 -1
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +22 -1
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +22 -1
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +22 -1
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +22 -1
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +22 -1
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +22 -1
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +22 -1
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +22 -1
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +22 -1
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +22 -1
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/data.js +3 -3
- package/lib/module/multi-agent-chat/data.js.map +1 -1
- package/lib/module/multi-agent-chat/selected-agent-preview.js +9 -0
- package/lib/module/multi-agent-chat/selected-agent-preview.js.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts +16 -0
- package/lib/typescript/commonjs/agent-avatar/use-static-portraits.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts +1 -1
- package/lib/typescript/commonjs/agent-creator/ShapeSilhouette.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts +13 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/types.d.ts +4 -7
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/types.d.ts +1 -2
- package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/VectorCharacterAvatar.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts +16 -0
- package/lib/typescript/module/agent-avatar/use-static-portraits.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts +1 -1
- package/lib/typescript/module/agent-creator/ShapeSilhouette.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/context.d.ts +13 -1
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/types.d.ts +4 -7
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/module/avatar/types.d.ts +1 -2
- package/lib/typescript/module/avatar/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/selected-agent-preview.d.ts.map +1 -0
- package/package.json +18 -1
- package/src/__tests__/support/adoption-matrix.ts +0 -5
- package/src/agent-avatar/VectorCharacterAvatar.tsx +19 -16
- package/src/agent-avatar/character.ts +4 -4
- package/src/agent-avatar/use-static-portraits.ts +50 -0
- package/src/agent-creator/AgentCreator.tsx +4 -0
- package/src/agent-creator/AgentCreator.web.tsx +4 -0
- package/src/agent-creator/AgentCreatorBase.tsx +83 -39
- package/src/agent-creator/CustomColorPicker.tsx +443 -0
- package/src/agent-creator/GlossArt.tsx +160 -0
- package/src/agent-creator/ShapeSilhouette.tsx +4 -3
- package/src/agent-creator/context.ts +2 -0
- package/src/agent-creator/messages.ts +37 -1
- package/src/agent-creator/paint.ts +17 -7
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +27 -0
- package/src/agent-creator/types.ts +4 -7
- package/src/avatar/types.ts +1 -2
- package/src/locale/translations/ar.ts +23 -1
- package/src/locale/translations/bn.ts +23 -1
- package/src/locale/translations/ca.ts +23 -1
- package/src/locale/translations/de.ts +23 -1
- package/src/locale/translations/es.ts +23 -1
- package/src/locale/translations/fr.ts +23 -1
- package/src/locale/translations/hi.ts +23 -1
- package/src/locale/translations/id.ts +23 -1
- package/src/locale/translations/it.ts +23 -1
- package/src/locale/translations/ja.ts +23 -1
- package/src/locale/translations/pt.ts +23 -1
- package/src/locale/translations/ru.ts +23 -1
- package/src/locale/translations/tr.ts +23 -1
- package/src/locale/translations/zh.ts +23 -1
- package/src/multi-agent-chat/data.ts +5 -3
- package/src/multi-agent-chat/selected-agent-preview.ts +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RAINBOW_LIGHT","exports","RAINBOW_DARK"],"sourceRoot":"../../../src","sources":["agent-creator/rainbow-artwork.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,aAAa,GAAAC,OAAA,CAAAD,aAAA,GACxB,4m6MAA4m6M;AACvm6M,MAAME,YAAY,GAAAD,OAAA,CAAAC,YAAA,GACvB,g8pIAAg8pI","ignoreList":[]}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.hexToHsv = hexToHsv;
|
|
7
|
+
exports.hsvToHex = hsvToHex;
|
|
6
8
|
exports.normalizeAgentPreferences = normalizeAgentPreferences;
|
|
7
9
|
var _constants = require("./constants.js");
|
|
8
10
|
function normalizeAgentPreferences(value) {
|
|
@@ -13,4 +15,30 @@ function normalizeAgentPreferences(value) {
|
|
|
13
15
|
notifications: typeof value?.notifications === 'boolean' ? value.notifications : true
|
|
14
16
|
};
|
|
15
17
|
}
|
|
18
|
+
function hexToHsv(hex) {
|
|
19
|
+
const match = hex.trim().match(/^#?([0-9a-f]{6})$/i);
|
|
20
|
+
if (!match?.[1]) return null;
|
|
21
|
+
const [r = 0, g = 0, b = 0] = [0, 2, 4].map(i => parseInt(match[1].slice(i, i + 2), 16) / 255);
|
|
22
|
+
const max = Math.max(r, g, b),
|
|
23
|
+
min = Math.min(r, g, b),
|
|
24
|
+
delta = max - min;
|
|
25
|
+
let h = 0;
|
|
26
|
+
if (delta) h = max === r ? ((g - b) / delta + (g < b ? 6 : 0)) * 60 : max === g ? ((b - r) / delta + 2) * 60 : ((r - g) / delta + 4) * 60;
|
|
27
|
+
return {
|
|
28
|
+
h,
|
|
29
|
+
s: max === 0 ? 0 : delta / max,
|
|
30
|
+
v: max
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function hsvToHex({
|
|
34
|
+
h,
|
|
35
|
+
s,
|
|
36
|
+
v
|
|
37
|
+
}) {
|
|
38
|
+
const channel = n => {
|
|
39
|
+
const k = (n + h / 60) % 6;
|
|
40
|
+
return Math.round((v - v * s * Math.max(0, Math.min(k, 4 - k, 1))) * 255).toString(16).padStart(2, '0');
|
|
41
|
+
};
|
|
42
|
+
return `#${channel(5)}${channel(3)}${channel(1)}`;
|
|
43
|
+
}
|
|
16
44
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_constants","require","normalizeAgentPreferences","value","voice","slice","DEFAULT_AGENT_PREFERENCES","speed","AGENT_SPEECH_RATES","some","rate","language","AGENT_LANGUAGES","id","notifications"],"sourceRoot":"../../../src","sources":["agent-creator/shared.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_constants","require","normalizeAgentPreferences","value","voice","slice","DEFAULT_AGENT_PREFERENCES","speed","AGENT_SPEECH_RATES","some","rate","language","AGENT_LANGUAGES","id","notifications","hexToHsv","hex","match","trim","r","g","b","map","i","parseInt","max","Math","min","delta","h","s","v","hsvToHex","channel","n","k","round","toString","padStart"],"sourceRoot":"../../../src","sources":["agent-creator/shared.ts"],"mappings":";;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAGO,SA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7 +47,8 @@ const AGENT_CREATOR_MESSAGES = {
|
|
|
47
47
|
newBot: 'روبوت جديد',
|
|
48
48
|
closeEditor: 'إغلاق محرر الوكيل',
|
|
49
49
|
details: 'مظهر الوكيل وتفاصيله',
|
|
50
|
-
color: '
|
|
50
|
+
color: 'لون الصورة الرمزية',
|
|
51
|
+
customColor: 'لون مخصص للصورة الرمزية',
|
|
51
52
|
name: 'الاسم',
|
|
52
53
|
label: 'التسمية',
|
|
53
54
|
description: 'الوصف',
|
|
@@ -70,6 +71,13 @@ const AGENT_CREATOR_MESSAGES = {
|
|
|
70
71
|
playbackSpeed: 'سرعة التشغيل',
|
|
71
72
|
emotion: 'تعبير الوكيل',
|
|
72
73
|
shape: 'شكل الصورة الرمزية',
|
|
74
|
+
hexColor: 'لون سداسي عشري',
|
|
75
|
+
hue: 'درجة اللون',
|
|
76
|
+
saturationBrightness: 'التشبع والسطوع',
|
|
77
|
+
increaseBrightness: 'زيادة السطوع',
|
|
78
|
+
decreaseBrightness: 'تقليل السطوع',
|
|
79
|
+
increaseHue: 'زيادة درجة اللون',
|
|
80
|
+
decreaseHue: 'تقليل درجة اللون',
|
|
73
81
|
nextShape: 'الشكل التالي',
|
|
74
82
|
previousShape: 'الشكل السابق',
|
|
75
83
|
newAgent: 'وكيل جديد',
|
|
@@ -102,6 +110,17 @@ const AGENT_CREATOR_MESSAGES = {
|
|
|
102
110
|
diamond: 'معين',
|
|
103
111
|
shield: 'درع'
|
|
104
112
|
},
|
|
113
|
+
colors: {
|
|
114
|
+
Blue: 'أزرق',
|
|
115
|
+
Teal: 'أخضر مزرق',
|
|
116
|
+
Violet: 'بنفسجي',
|
|
117
|
+
Pink: 'وردي',
|
|
118
|
+
Red: 'أحمر',
|
|
119
|
+
Orange: 'برتقالي',
|
|
120
|
+
Cyan: 'سماوي',
|
|
121
|
+
Lime: 'أخضر ليموني',
|
|
122
|
+
Green: 'أخضر'
|
|
123
|
+
},
|
|
105
124
|
languages: {
|
|
106
125
|
auto: 'اكتشاف تلقائي',
|
|
107
126
|
en: 'الإنجليزية',
|
|
@@ -112,9 +131,11 @@ const AGENT_CREATOR_MESSAGES = {
|
|
|
112
131
|
ja: 'اليابانية',
|
|
113
132
|
pt: 'البرتغالية'
|
|
114
133
|
},
|
|
134
|
+
avatarColorLabel: name => 'صورة رمزية {name}'.replace('{name}', name),
|
|
115
135
|
shapeLabel: name => 'شكل {name}'.replace('{name}', name),
|
|
116
136
|
silhouetteLabel: name => 'صورة ظلية {name}'.replace('{name}', name),
|
|
117
137
|
livePreview: name => '{name}، معاينة مباشرة للصورة الرمزية'.replace('{name}', name),
|
|
138
|
+
saturationBrightnessValue: (s, v) => 'التشبع {s}٪، السطوع {v}٪'.replace('{s}', String(s)).replace('{v}', String(v)),
|
|
118
139
|
playbackSpeedLabel: speed => 'سرعة التشغيل {speed} مرة'.replace('{speed}', String(speed))
|
|
119
140
|
};
|
|
120
141
|
const COMMON_MESSAGES = {
|