Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-22 17:10:47 +08:00
parent 0eaf3f0f8a
commit 33175cad7c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
17 changed files with 38 additions and 0 deletions

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "باتاكا ماكاوي",
"numberFormatSGD": "دولار سنغافوري",
"numberFormatNZD": "دولار نيوزيلندي",
"numberFormatILS": "الشيكل الإسرائيلي الجديد",
"email": "بريد إلكتروني",
"phone": "رقم هاتف",
"inboxTip": "‫افتح دليل المستخدم للبحث عن <code class='fn__code'>علبة الوارد (inbox)</code> لعرض التعليمات‬",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Macau-Pataca",
"numberFormatSGD": "Singapur-Dollar",
"numberFormatNZD": "Neuseeland-Dollar",
"numberFormatILS": "Neuer israelischer Schekel",
"email": "E-Mail",
"phone": "Telefon",
"inboxTip": "Öffnen Sie das Benutzerhandbuch, um die <code class='fn__code'>Posteingang</code> zu durchsuchen, um die Anweisungen anzuzeigen",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Macau Pataca",
"numberFormatSGD": "Singapore Dollar",
"numberFormatNZD": "New Zealand Dollar",
"numberFormatILS": "Israeli New Shekel",
"email": "Email",
"phone": "Phone",
"inboxTip": "Open the user guide to search the <code class='fn__code'>inbox</code> to view the instructions",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Pataca de Macao",
"numberFormatSGD": "Dólar de Singapur",
"numberFormatNZD": "Dólar neozelandés",
"numberFormatILS": "Nuevo shekel israelí",
"email": "Correo electrónico",
"phone": "Teléfono",
"inboxTip": "Abra la guía del usuario para buscar en la <code class='fn__code'>bandeja de entrada</code> para ver las instrucciones",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Pataca de Macao",
"numberFormatSGD": "Dollar de Singapour",
"numberFormatNZD": "Dollar néo-zélandais",
"numberFormatILS": "Nouveau shekel israélien",
"email": "E-mail",
"phone": "Téléphone",
"inboxTip": "Ouvrez le guide de l'utilisateur pour rechercher la <code class='fn__code'>boîte de réception</code> pour afficher les instructions",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "פטקה של מקאו",
"numberFormatSGD": "דולר סינגפורי",
"numberFormatNZD": "דולר ניו זילנדי",
"numberFormatILS": "שקל חדש ישראלי",
"email": "דואר אלקטרוני",
"phone": "טלפון",
"inboxTip": "פתח את המדריך למשתמש כדי לחפש ב<code class='fn__code'>אינבוקס</code> כדי לראות את ההנחיות",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Pataca di Macao",
"numberFormatSGD": "Dollaro di Singapore",
"numberFormatNZD": "Dollaro neozelandese",
"numberFormatILS": "Nuovo shekel israeliano",
"email": "Email",
"phone": "Telefono",
"inboxTip": "Apri la guida utente per cercare <code class='fn__code'>inbox</code> e visualizzare le istruzioni",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "マカオパタカ",
"numberFormatSGD": "シンガポールドル",
"numberFormatNZD": "ニュージーランドドル",
"numberFormatILS": "イスラエル新シェケル",
"email": "メール",
"phone": "電話",
"inboxTip": "ユーザーガイドの <code class='fn__code'>受信トレイ</code> を読んで使い方を確認してください",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "마카오 파타카",
"numberFormatSGD": "싱가포르 달러",
"numberFormatNZD": "뉴질랜드 달러",
"numberFormatILS": "이스라엘 신셰켈",
"email": "이메일",
"phone": "전화",
"inboxTip": "사용자 가이드에서 <code class='fn__code'>inbox</code>(수집함)를 검색하여 지침을 확인하세요",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Pataca Makau",
"numberFormatSGD": "Dolar singapurski",
"numberFormatNZD": "Dolar nowozelandzki",
"numberFormatILS": "Nowy izraelski szekel",
"email": "Email",
"phone": "Telefon",
"inboxTip": "Otwórz przewodnik użytkownika, aby wyszukać <code class='fn__code'>inbox</code>, aby zobaczyć instrukcje",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Pataca de Macau",
"numberFormatSGD": "Dólar de Singapura",
"numberFormatNZD": "Dólar neozelandês",
"numberFormatILS": "Новый израильский шекель",
"email": "E-mail",
"phone": "Telefone",
"inboxTip": "Abra o guia do usuário para pesquisar o <code class='fn__code'>inbox</code> e visualizar as instruções",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Патака Макао",
"numberFormatSGD": "Сингапурский доллар",
"numberFormatNZD": "Новозеландский доллар",
"numberFormatILS": "Новый израильский шекель",
"email": "Электронная почта",
"phone": "Телефон",
"inboxTip": "Откройте руководство пользователя, чтобы найти <code class='fn__code'>inbox</code>, чтобы посмотреть инструкции",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "Makao Patakası",
"numberFormatSGD": "Singapur Doları",
"numberFormatNZD": "Yeni Zelanda Doları",
"numberFormatILS": "Yeni İsrail şekeli",
"email": "E-posta",
"phone": "Telefon",
"inboxTip": "Kullanıcı rehberini aç, <code class='fn__code'>inbox</code> yazarak talimatları görüntüle",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "澳門元",
"numberFormatSGD": "新加坡元",
"numberFormatNZD": "紐西蘭元",
"numberFormatILS": "以色列新謝克爾",
"email": "郵箱",
"phone": "電話",
"inboxTip": "打開用戶指南搜索 <code class='fn__code'>收集箱</code> 查看使用說明",

View file

@ -314,6 +314,7 @@
"numberFormatMOP": "澳门元",
"numberFormatSGD": "新加坡元",
"numberFormatNZD": "新西兰元",
"numberFormatILS": "以色列新谢克尔",
"email": "邮箱",
"phone": "电话",
"inboxTip": "打开用户指南搜索 <code class='fn__code'>收集箱</code> 查看使用说明",

View file

@ -141,6 +141,15 @@ export const formatNumber = (options: {
oldFormat: options.oldFormat,
avPanelElement: options.avPanelElement,
});
addFormatItem({
menu,
protyle: options.protyle,
colId: options.colId,
avID: options.avID,
format:"TRY",
oldFormat: options.oldFormat,
avPanelElement: options.avPanelElement,
});
addFormatItem({
menu,
protyle: options.protyle,
@ -222,6 +231,16 @@ export const formatNumber = (options: {
oldFormat: options.oldFormat,
avPanelElement: options.avPanelElement,
});
addFormatItem({
menu,
protyle: options.protyle,
colId: options.colId,
avID: options.avID,
format:"ILS",
oldFormat: options.oldFormat,
avPanelElement: options.avPanelElement,
});
const rect = options.element.getBoundingClientRect();
menu.open({
x: rect.left,

View file

@ -508,6 +508,7 @@ const (
NumberFormatMOP NumberFormat = "MOP" // 澳门币
NumberFormatSGD NumberFormat = "SGD" // 新加坡元
NumberFormatNZD NumberFormat = "NZD" // 新西兰元
NumberFormatILS NumberFormat = "ILS" // 以色列新谢克尔
)
func NewFormattedValueNumber(content float64, format NumberFormat) (ret *ValueNumber) {
@ -601,6 +602,9 @@ func formatNumber(content float64, format NumberFormat) string {
case NumberFormatNZD:
p := message.NewPrinter(language.English)
return p.Sprintf("NZ$%.2f", content)
case NumberFormatILS:
p := message.NewPrinter(language.Hebrew)
return p.Sprintf("ILS₪%.2f", content)
default:
return strconv.FormatFloat(content, 'f', -1, 64)
}