Refactor widget size selector to show only numeric dimensions

This commit is contained in:
Rafael Foster
2026-05-01 09:18:44 -03:00
parent f5377bd2f1
commit 2b4f7352ed
16 changed files with 16 additions and 256 deletions
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "اسحب الأداة", "customizeDrag": "اسحب الأداة",
"customizeSize": "الحجم", "customizeSize": "الحجم",
"customizeSizeFor": "حجم {{widget}}", "customizeSizeFor": "حجم {{widget}}",
"customizeHide": "إخفاء {{widget}}", "customizeHide": "إخفاء {{widget}}"
"widgetSize_1_1": "c · 1 عرض x 1 ارتفاع",
"widgetSize_1_2": "t · 1 عرض x 2 ارتفاع",
"widgetSize_1_3": "col · 1 عرض x 3 ارتفاع",
"widgetSize_1_4": "tower · 1 عرض x 4 ارتفاع",
"widgetSize_2_1": "w · 2 عرض x 1 ارتفاع",
"widgetSize_2_2": "f · 2 عرض x 2 ارتفاع",
"widgetSize_2_3": "tf · 2 عرض x 3 ارتفاع",
"widgetSize_2_4": "poster · 2 عرض x 4 ارتفاع",
"widgetSize_3_1": "pan · 3 عرض x 1 ارتفاع",
"widgetSize_3_2": "show · 3 عرض x 2 ارتفاع",
"widgetSize_3_3": "board · 3 عرض x 3 ارتفاع",
"widgetSize_4_1": "row · 4 عرض x 1 ارتفاع",
"widgetSize_4_2": "banner · 4 عرض x 2 ارتفاع",
"widgetSize_3_4": "جدار · 3 عرض x 4 ارتفاع",
"widgetSize_4_3": "مركز التحكم · 4 عرض x 3 ارتفاع",
"widgetSize_4_4": "لوحة · 4 عرض x 4 ارتفاع"
}, },
"tasks": { "tasks": {
"title": "المهام", "title": "المهام",
+1 -17
View File
@@ -124,23 +124,7 @@
"customizeDrag": "Widget ziehen", "customizeDrag": "Widget ziehen",
"customizeSize": "Größe", "customizeSize": "Größe",
"customizeSizeFor": "Größe für {{widget}}", "customizeSizeFor": "Größe für {{widget}}",
"customizeHide": "{{widget}} ausblenden", "customizeHide": "{{widget}} ausblenden"
"widgetSize_1_1": "c · 1 breit x 1 hoch",
"widgetSize_1_2": "t · 1 breit x 2 hoch",
"widgetSize_1_3": "col · 1 breit x 3 hoch",
"widgetSize_1_4": "tower · 1 breit x 4 hoch",
"widgetSize_2_1": "w · 2 breit x 1 hoch",
"widgetSize_2_2": "f · 2 breit x 2 hoch",
"widgetSize_2_3": "tf · 2 breit x 3 hoch",
"widgetSize_2_4": "poster · 2 breit x 4 hoch",
"widgetSize_3_1": "pan · 3 breit x 1 hoch",
"widgetSize_3_2": "show · 3 breit x 2 hoch",
"widgetSize_3_3": "board · 3 breit x 3 hoch",
"widgetSize_4_1": "row · 4 breit x 1 hoch",
"widgetSize_4_2": "banner · 4 breit x 2 hoch",
"widgetSize_3_4": "Wand · 3 breit x 4 hoch",
"widgetSize_4_3": "Kommandozentrale · 4 breit x 3 hoch",
"widgetSize_4_4": "Leinwand · 4 breit x 4 hoch"
}, },
"tasks": { "tasks": {
"title": "Aufgaben", "title": "Aufgaben",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Σύρετε widget", "customizeDrag": "Σύρετε widget",
"customizeSize": "Μέγεθος", "customizeSize": "Μέγεθος",
"customizeSizeFor": "Μέγεθος για {{widget}}", "customizeSizeFor": "Μέγεθος για {{widget}}",
"customizeHide": "Απόκρυψη {{widget}}", "customizeHide": "Απόκρυψη {{widget}}"
"widgetSize_1_1": "c · 1 πλάτος x 1 ύψος",
"widgetSize_1_2": "t · 1 πλάτος x 2 ύψος",
"widgetSize_1_3": "col · 1 πλάτος x 3 ύψος",
"widgetSize_1_4": "tower · 1 πλάτος x 4 ύψος",
"widgetSize_2_1": "w · 2 πλάτος x 1 ύψος",
"widgetSize_2_2": "f · 2 πλάτος x 2 ύψος",
"widgetSize_2_3": "tf · 2 πλάτος x 3 ύψος",
"widgetSize_2_4": "poster · 2 πλάτος x 4 ύψος",
"widgetSize_3_1": "pan · 3 πλάτος x 1 ύψος",
"widgetSize_3_2": "show · 3 πλάτος x 2 ύψος",
"widgetSize_3_3": "board · 3 πλάτος x 3 ύψος",
"widgetSize_4_1": "row · 4 πλάτος x 1 ύψος",
"widgetSize_4_2": "banner · 4 πλάτος x 2 ύψος",
"widgetSize_3_4": "Τοίχος · 3 πλάτος x 4 ύψος",
"widgetSize_4_3": "Κέντρο ελέγχου · 4 πλάτος x 3 ύψος",
"widgetSize_4_4": "Καμβάς · 4 πλάτος x 4 ύψος"
}, },
"tasks": { "tasks": {
"title": "Εργασίες", "title": "Εργασίες",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Drag widget", "customizeDrag": "Drag widget",
"customizeSize": "Size", "customizeSize": "Size",
"customizeSizeFor": "Size for {{widget}}", "customizeSizeFor": "Size for {{widget}}",
"customizeHide": "Hide {{widget}}", "customizeHide": "Hide {{widget}}"
"widgetSize_1_1": "c · 1 wide x 1 tall",
"widgetSize_1_2": "t · 1 wide x 2 tall",
"widgetSize_1_3": "col · 1 wide x 3 tall",
"widgetSize_1_4": "tower · 1 wide x 4 tall",
"widgetSize_2_1": "w · 2 wide x 1 tall",
"widgetSize_2_2": "f · 2 wide x 2 tall",
"widgetSize_2_3": "tf · 2 wide x 3 tall",
"widgetSize_2_4": "poster · 2 wide x 4 tall",
"widgetSize_3_1": "pan · 3 wide x 1 tall",
"widgetSize_3_2": "show · 3 wide x 2 tall",
"widgetSize_3_3": "board · 3 wide x 3 tall",
"widgetSize_4_1": "row · 4 wide x 1 tall",
"widgetSize_4_2": "banner · 4 wide x 2 tall",
"widgetSize_3_4": "Wall · 3 wide x 4 tall",
"widgetSize_4_3": "Command center · 4 wide x 3 tall",
"widgetSize_4_4": "Canvas · 4 wide x 4 tall"
}, },
"tasks": { "tasks": {
"title": "Tasks", "title": "Tasks",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Arrastrar widget", "customizeDrag": "Arrastrar widget",
"customizeSize": "Tamaño", "customizeSize": "Tamaño",
"customizeSizeFor": "Tamaño de {{widget}}", "customizeSizeFor": "Tamaño de {{widget}}",
"customizeHide": "Ocultar {{widget}}", "customizeHide": "Ocultar {{widget}}"
"widgetSize_1_1": "c · 1 ancho x 1 alto",
"widgetSize_1_2": "t · 1 ancho x 2 alto",
"widgetSize_1_3": "col · 1 ancho x 3 alto",
"widgetSize_1_4": "tower · 1 ancho x 4 alto",
"widgetSize_2_1": "w · 2 ancho x 1 alto",
"widgetSize_2_2": "f · 2 ancho x 2 alto",
"widgetSize_2_3": "tf · 2 ancho x 3 alto",
"widgetSize_2_4": "poster · 2 ancho x 4 alto",
"widgetSize_3_1": "pan · 3 ancho x 1 alto",
"widgetSize_3_2": "show · 3 ancho x 2 alto",
"widgetSize_3_3": "board · 3 ancho x 3 alto",
"widgetSize_4_1": "row · 4 ancho x 1 alto",
"widgetSize_4_2": "banner · 4 ancho x 2 alto",
"widgetSize_3_4": "Mural · 3 ancho x 4 alto",
"widgetSize_4_3": "Centro de control · 4 ancho x 3 alto",
"widgetSize_4_4": "Lienzo · 4 ancho x 4 alto"
}, },
"tasks": { "tasks": {
"title": "Tareas", "title": "Tareas",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Faire glisser le widget", "customizeDrag": "Faire glisser le widget",
"customizeSize": "Taille", "customizeSize": "Taille",
"customizeSizeFor": "Taille de {{widget}}", "customizeSizeFor": "Taille de {{widget}}",
"customizeHide": "Masquer {{widget}}", "customizeHide": "Masquer {{widget}}"
"widgetSize_1_1": "c · 1 large x 1 haut",
"widgetSize_1_2": "t · 1 large x 2 haut",
"widgetSize_1_3": "col · 1 large x 3 haut",
"widgetSize_1_4": "tower · 1 large x 4 haut",
"widgetSize_2_1": "w · 2 large x 1 haut",
"widgetSize_2_2": "f · 2 large x 2 haut",
"widgetSize_2_3": "tf · 2 large x 3 haut",
"widgetSize_2_4": "poster · 2 large x 4 haut",
"widgetSize_3_1": "pan · 3 large x 1 haut",
"widgetSize_3_2": "show · 3 large x 2 haut",
"widgetSize_3_3": "board · 3 large x 3 haut",
"widgetSize_4_1": "row · 4 large x 1 haut",
"widgetSize_4_2": "banner · 4 large x 2 haut",
"widgetSize_3_4": "Mur · 3 large x 4 haut",
"widgetSize_4_3": "Centre de commande · 4 large x 3 haut",
"widgetSize_4_4": "Toile · 4 large x 4 haut"
}, },
"tasks": { "tasks": {
"title": "Tâches", "title": "Tâches",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "विजेट खींचें", "customizeDrag": "विजेट खींचें",
"customizeSize": "आकार", "customizeSize": "आकार",
"customizeSizeFor": "{{widget}} का आकार", "customizeSizeFor": "{{widget}} का आकार",
"customizeHide": "{{widget}} छिपाएँ", "customizeHide": "{{widget}} छिपाएँ"
"widgetSize_1_1": "c · 1 चौड़ा x 1 ऊँचा",
"widgetSize_1_2": "t · 1 चौड़ा x 2 ऊँचा",
"widgetSize_1_3": "col · 1 चौड़ा x 3 ऊँचा",
"widgetSize_1_4": "tower · 1 चौड़ा x 4 ऊँचा",
"widgetSize_2_1": "w · 2 चौड़ा x 1 ऊँचा",
"widgetSize_2_2": "f · 2 चौड़ा x 2 ऊँचा",
"widgetSize_2_3": "tf · 2 चौड़ा x 3 ऊँचा",
"widgetSize_2_4": "poster · 2 चौड़ा x 4 ऊँचा",
"widgetSize_3_1": "pan · 3 चौड़ा x 1 ऊँचा",
"widgetSize_3_2": "show · 3 चौड़ा x 2 ऊँचा",
"widgetSize_3_3": "board · 3 चौड़ा x 3 ऊँचा",
"widgetSize_4_1": "row · 4 चौड़ा x 1 ऊँचा",
"widgetSize_4_2": "banner · 4 चौड़ा x 2 ऊँचा",
"widgetSize_3_4": "दीवार · 3 चौड़ा x 4 ऊँचा",
"widgetSize_4_3": "कमांड सेंटर · 4 चौड़ा x 3 ऊँचा",
"widgetSize_4_4": "कैनवास · 4 चौड़ा x 4 ऊँचा"
}, },
"tasks": { "tasks": {
"title": "कार्य", "title": "कार्य",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Trascina widget", "customizeDrag": "Trascina widget",
"customizeSize": "Dimensione", "customizeSize": "Dimensione",
"customizeSizeFor": "Dimensione di {{widget}}", "customizeSizeFor": "Dimensione di {{widget}}",
"customizeHide": "Nascondi {{widget}}", "customizeHide": "Nascondi {{widget}}"
"widgetSize_1_1": "c · 1 largo x 1 alto",
"widgetSize_1_2": "t · 1 largo x 2 alto",
"widgetSize_1_3": "col · 1 largo x 3 alto",
"widgetSize_1_4": "tower · 1 largo x 4 alto",
"widgetSize_2_1": "w · 2 largo x 1 alto",
"widgetSize_2_2": "f · 2 largo x 2 alto",
"widgetSize_2_3": "tf · 2 largo x 3 alto",
"widgetSize_2_4": "poster · 2 largo x 4 alto",
"widgetSize_3_1": "pan · 3 largo x 1 alto",
"widgetSize_3_2": "show · 3 largo x 2 alto",
"widgetSize_3_3": "board · 3 largo x 3 alto",
"widgetSize_4_1": "row · 4 largo x 1 alto",
"widgetSize_4_2": "banner · 4 largo x 2 alto",
"widgetSize_3_4": "Parete · 3 largo x 4 alto",
"widgetSize_4_3": "Centro di comando · 4 largo x 3 alto",
"widgetSize_4_4": "Tela · 4 largo x 4 alto"
}, },
"tasks": { "tasks": {
"title": "Compiti", "title": "Compiti",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "ウィジェットをドラッグ", "customizeDrag": "ウィジェットをドラッグ",
"customizeSize": "サイズ", "customizeSize": "サイズ",
"customizeSizeFor": "{{widget}} のサイズ", "customizeSizeFor": "{{widget}} のサイズ",
"customizeHide": "{{widget}} を非表示", "customizeHide": "{{widget}} を非表示"
"widgetSize_1_1": "c · 1 幅 x 1 高さ",
"widgetSize_1_2": "t · 1 幅 x 2 高さ",
"widgetSize_1_3": "col · 1 幅 x 3 高さ",
"widgetSize_1_4": "tower · 1 幅 x 4 高さ",
"widgetSize_2_1": "w · 2 幅 x 1 高さ",
"widgetSize_2_2": "f · 2 幅 x 2 高さ",
"widgetSize_2_3": "tf · 2 幅 x 3 高さ",
"widgetSize_2_4": "poster · 2 幅 x 4 高さ",
"widgetSize_3_1": "pan · 3 幅 x 1 高さ",
"widgetSize_3_2": "show · 3 幅 x 2 高さ",
"widgetSize_3_3": "board · 3 幅 x 3 高さ",
"widgetSize_4_1": "row · 4 幅 x 1 高さ",
"widgetSize_4_2": "banner · 4 幅 x 2 高さ",
"widgetSize_3_4": "ウォール · 3 幅 x 4 高さ",
"widgetSize_4_3": "コマンドセンター · 4 幅 x 3 高さ",
"widgetSize_4_4": "キャンバス · 4 幅 x 4 高さ"
}, },
"tasks": { "tasks": {
"title": "タスク", "title": "タスク",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Arrastar widget", "customizeDrag": "Arrastar widget",
"customizeSize": "Tamanho", "customizeSize": "Tamanho",
"customizeSizeFor": "Tamanho de {{widget}}", "customizeSizeFor": "Tamanho de {{widget}}",
"customizeHide": "Ocultar {{widget}}", "customizeHide": "Ocultar {{widget}}"
"widgetSize_1_1": "c · 1 largura x 1 altura",
"widgetSize_1_2": "t · 1 largura x 2 altura",
"widgetSize_1_3": "col · 1 largura x 3 altura",
"widgetSize_1_4": "tower · 1 largura x 4 altura",
"widgetSize_2_1": "w · 2 largura x 1 altura",
"widgetSize_2_2": "f · 2 largura x 2 altura",
"widgetSize_2_3": "tf · 2 largura x 3 altura",
"widgetSize_2_4": "poster · 2 largura x 4 altura",
"widgetSize_3_1": "pan · 3 largura x 1 altura",
"widgetSize_3_2": "show · 3 largura x 2 altura",
"widgetSize_3_3": "board · 3 largura x 3 altura",
"widgetSize_4_1": "row · 4 largura x 1 altura",
"widgetSize_4_2": "banner · 4 largura x 2 altura",
"widgetSize_3_4": "Mural · 3 largura x 4 altura",
"widgetSize_4_3": "Central de comando · 4 largura x 3 altura",
"widgetSize_4_4": "Tela · 4 largura x 4 altura"
}, },
"tasks": { "tasks": {
"title": "Tarefas", "title": "Tarefas",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Перетащить виджет", "customizeDrag": "Перетащить виджет",
"customizeSize": "Размер", "customizeSize": "Размер",
"customizeSizeFor": "Размер для {{widget}}", "customizeSizeFor": "Размер для {{widget}}",
"customizeHide": "Скрыть {{widget}}", "customizeHide": "Скрыть {{widget}}"
"widgetSize_1_1": "c · 1 ширина x 1 высота",
"widgetSize_1_2": "t · 1 ширина x 2 высота",
"widgetSize_1_3": "col · 1 ширина x 3 высота",
"widgetSize_1_4": "tower · 1 ширина x 4 высота",
"widgetSize_2_1": "w · 2 ширина x 1 высота",
"widgetSize_2_2": "f · 2 ширина x 2 высота",
"widgetSize_2_3": "tf · 2 ширина x 3 высота",
"widgetSize_2_4": "poster · 2 ширина x 4 высота",
"widgetSize_3_1": "pan · 3 ширина x 1 высота",
"widgetSize_3_2": "show · 3 ширина x 2 высота",
"widgetSize_3_3": "board · 3 ширина x 3 высота",
"widgetSize_4_1": "row · 4 ширина x 1 высота",
"widgetSize_4_2": "banner · 4 ширина x 2 высота",
"widgetSize_3_4": "Стена · 3 ширина x 4 высота",
"widgetSize_4_3": "Центр управления · 4 ширина x 3 высота",
"widgetSize_4_4": "Холст · 4 ширина x 4 высота"
}, },
"tasks": { "tasks": {
"title": "Задачи", "title": "Задачи",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Dra widget", "customizeDrag": "Dra widget",
"customizeSize": "Storlek", "customizeSize": "Storlek",
"customizeSizeFor": "Storlek för {{widget}}", "customizeSizeFor": "Storlek för {{widget}}",
"customizeHide": "Dölj {{widget}}", "customizeHide": "Dölj {{widget}}"
"widgetSize_1_1": "c · 1 bred x 1 hög",
"widgetSize_1_2": "t · 1 bred x 2 hög",
"widgetSize_1_3": "col · 1 bred x 3 hög",
"widgetSize_1_4": "tower · 1 bred x 4 hög",
"widgetSize_2_1": "w · 2 bred x 1 hög",
"widgetSize_2_2": "f · 2 bred x 2 hög",
"widgetSize_2_3": "tf · 2 bred x 3 hög",
"widgetSize_2_4": "poster · 2 bred x 4 hög",
"widgetSize_3_1": "pan · 3 bred x 1 hög",
"widgetSize_3_2": "show · 3 bred x 2 hög",
"widgetSize_3_3": "board · 3 bred x 3 hög",
"widgetSize_4_1": "row · 4 bred x 1 hög",
"widgetSize_4_2": "banner · 4 bred x 2 hög",
"widgetSize_3_4": "Vägg · 3 bred x 4 hög",
"widgetSize_4_3": "Kommandocenter · 4 bred x 3 hög",
"widgetSize_4_4": "Canvas · 4 bred x 4 hög"
}, },
"tasks": { "tasks": {
"title": "Uppgifter", "title": "Uppgifter",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Widgetı sürükle", "customizeDrag": "Widgetı sürükle",
"customizeSize": "Boyut", "customizeSize": "Boyut",
"customizeSizeFor": "{{widget}} boyutu", "customizeSizeFor": "{{widget}} boyutu",
"customizeHide": "{{widget}} gizle", "customizeHide": "{{widget}} gizle"
"widgetSize_1_1": "c · 1 geniş x 1 yüksek",
"widgetSize_1_2": "t · 1 geniş x 2 yüksek",
"widgetSize_1_3": "col · 1 geniş x 3 yüksek",
"widgetSize_1_4": "tower · 1 geniş x 4 yüksek",
"widgetSize_2_1": "w · 2 geniş x 1 yüksek",
"widgetSize_2_2": "f · 2 geniş x 2 yüksek",
"widgetSize_2_3": "tf · 2 geniş x 3 yüksek",
"widgetSize_2_4": "poster · 2 geniş x 4 yüksek",
"widgetSize_3_1": "pan · 3 geniş x 1 yüksek",
"widgetSize_3_2": "show · 3 geniş x 2 yüksek",
"widgetSize_3_3": "board · 3 geniş x 3 yüksek",
"widgetSize_4_1": "row · 4 geniş x 1 yüksek",
"widgetSize_4_2": "banner · 4 geniş x 2 yüksek",
"widgetSize_3_4": "Duvar · 3 geniş x 4 yüksek",
"widgetSize_4_3": "Komuta merkezi · 4 geniş x 3 yüksek",
"widgetSize_4_4": "Tuval · 4 geniş x 4 yüksek"
}, },
"tasks": { "tasks": {
"title": "Görevler", "title": "Görevler",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "Перетягнути віджет", "customizeDrag": "Перетягнути віджет",
"customizeSize": "Розмір", "customizeSize": "Розмір",
"customizeSizeFor": "Розмір для {{widget}}", "customizeSizeFor": "Розмір для {{widget}}",
"customizeHide": "Приховати {{widget}}", "customizeHide": "Приховати {{widget}}"
"widgetSize_1_1": "c · 1 ширина x 1 висота",
"widgetSize_1_2": "t · 1 ширина x 2 висота",
"widgetSize_1_3": "col · 1 ширина x 3 висота",
"widgetSize_1_4": "tower · 1 ширина x 4 висота",
"widgetSize_2_1": "w · 2 ширина x 1 висота",
"widgetSize_2_2": "f · 2 ширина x 2 висота",
"widgetSize_2_3": "tf · 2 ширина x 3 висота",
"widgetSize_2_4": "poster · 2 ширина x 4 висота",
"widgetSize_3_1": "pan · 3 ширина x 1 висота",
"widgetSize_3_2": "show · 3 ширина x 2 висота",
"widgetSize_3_3": "board · 3 ширина x 3 висота",
"widgetSize_4_1": "row · 4 ширина x 1 висота",
"widgetSize_4_2": "banner · 4 ширина x 2 висота",
"widgetSize_3_4": "Стіна · 3 ширина x 4 висота",
"widgetSize_4_3": "Командний центр · 4 ширина x 3 висота",
"widgetSize_4_4": "Полотно · 4 ширина x 4 висота"
}, },
"tasks": { "tasks": {
"title": "Завдання", "title": "Завдання",
+1 -17
View File
@@ -118,23 +118,7 @@
"customizeDrag": "拖动小组件", "customizeDrag": "拖动小组件",
"customizeSize": "大小", "customizeSize": "大小",
"customizeSizeFor": "{{widget}} 的大小", "customizeSizeFor": "{{widget}} 的大小",
"customizeHide": "隐藏 {{widget}}", "customizeHide": "隐藏 {{widget}}"
"widgetSize_1_1": "c · 1 宽 x 1 高",
"widgetSize_1_2": "t · 1 宽 x 2 高",
"widgetSize_1_3": "col · 1 宽 x 3 高",
"widgetSize_1_4": "tower · 1 宽 x 4 高",
"widgetSize_2_1": "w · 2 宽 x 1 高",
"widgetSize_2_2": "f · 2 宽 x 2 高",
"widgetSize_2_3": "tf · 2 宽 x 3 高",
"widgetSize_2_4": "poster · 2 宽 x 4 高",
"widgetSize_3_1": "pan · 3 宽 x 1 高",
"widgetSize_3_2": "show · 3 宽 x 2 高",
"widgetSize_3_3": "board · 3 宽 x 3 高",
"widgetSize_4_1": "row · 4 宽 x 1 高",
"widgetSize_4_2": "banner · 4 宽 x 2 高",
"widgetSize_3_4": "墙面 · 3 宽 x 4 高",
"widgetSize_4_3": "指挥中心 · 4 宽 x 3 高",
"widgetSize_4_4": "画布 · 4 宽 x 4 高"
}, },
"tasks": { "tasks": {
"title": "任务", "title": "任务",
+1 -1
View File
@@ -116,7 +116,7 @@ const WIDGET_IDS = ['tasks', 'calendar', 'weather', 'meals', 'shopping', 'birthd
const WIDGET_SIZE_OPTIONS = ['1x1', '1x2', '1x3', '1x4', '2x1', '2x2', '2x3', '2x4', '3x1', '3x2', '3x3', '3x4', '4x1', '4x2', '4x3', '4x4']; const WIDGET_SIZE_OPTIONS = ['1x1', '1x2', '1x3', '1x4', '2x1', '2x2', '2x3', '2x4', '3x1', '3x2', '3x3', '3x4', '4x1', '4x2', '4x3', '4x4'];
function widgetSizeLabel(size) { function widgetSizeLabel(size) {
return t(`dashboard.widgetSize_${size.replace('x', '_')}`); return size;
} }
function defaultWidgetSize(id) { function defaultWidgetSize(id) {