From 526160b7695d3a97eb1dc408a875b6ca5d98af1d Mon Sep 17 00:00:00 2001 From: Ercan <18646235+flightlesstux@users.noreply.github.com> Date: Tue, 27 Jun 2023 13:43:36 +0300 Subject: [PATCH] =?UTF-8?q?ValueFormats:=20Add=20support=20for=20Turkish?= =?UTF-8?q?=20Lira=20(=E2=82=BA)=20(#70662)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore(valueFormats): Turkish Lira (₺) Support add #70660 --- devenv/dev-dashboards-without-uid/panel_tests_polystat.json | 4 ++++ devenv/dev-dashboards/panel-polystat/polystat_test.json | 4 ++++ packages/grafana-data/src/valueFormats/categories.ts | 1 + 3 files changed, 9 insertions(+) diff --git a/devenv/dev-dashboards-without-uid/panel_tests_polystat.json b/devenv/dev-dashboards-without-uid/panel_tests_polystat.json index d4052306f21..d75dad9009b 100644 --- a/devenv/dev-dashboards-without-uid/panel_tests_polystat.json +++ b/devenv/dev-dashboards-without-uid/panel_tests_polystat.json @@ -440,6 +440,10 @@ { "text": "Vietnamese Dong (VND)", "value": "currencyVND" + }, + { + "text": "Turkish Lira (₺)", + "value": "currencyTRY" } ], "text": "currency" diff --git a/devenv/dev-dashboards/panel-polystat/polystat_test.json b/devenv/dev-dashboards/panel-polystat/polystat_test.json index 03569f5e64b..833c710890c 100644 --- a/devenv/dev-dashboards/panel-polystat/polystat_test.json +++ b/devenv/dev-dashboards/panel-polystat/polystat_test.json @@ -440,6 +440,10 @@ { "text": "Vietnamese Dong (VND)", "value": "currencyVND" + }, + { + "text": "Turkish Lira (₺)", + "value": "currencyTRY" } ], "text": "currency" diff --git a/packages/grafana-data/src/valueFormats/categories.ts b/packages/grafana-data/src/valueFormats/categories.ts index 653146f6bd3..f91376e4ccd 100644 --- a/packages/grafana-data/src/valueFormats/categories.ts +++ b/packages/grafana-data/src/valueFormats/categories.ts @@ -138,6 +138,7 @@ export const getCategories = (): ValueFormatCategory[] => [ { name: 'Indonesian Rupiah (Rp)', id: 'currencyIDR', fn: currency('Rp') }, { name: 'Philippine Peso (PHP)', id: 'currencyPHP', fn: currency('PHP') }, { name: 'Vietnamese Dong (VND)', id: 'currencyVND', fn: currency('đ', true) }, + { name: 'Turkish Lira (₺)', id: 'currencyTRY', fn: currency('₺', true) }, ], }, {