From 3e44fc4bfc6fa7b87fb2026647e5997a40e1993a Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 22 Jul 2023 12:29:34 +0200 Subject: [PATCH 1/5] refactor: added another language to the generator --- packages/components/_templates/power-apps/new/comp-xml.ejs.t | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/_templates/power-apps/new/comp-xml.ejs.t b/packages/components/_templates/power-apps/new/comp-xml.ejs.t index e43cd01715d..b7b2fd584e2 100644 --- a/packages/components/_templates/power-apps/new/comp-xml.ejs.t +++ b/packages/components/_templates/power-apps/new/comp-xml.ejs.t @@ -74,6 +74,7 @@ force: true + From 0c4821b67fb52400f0345211f4626395640dd8fd Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 22 Jul 2023 12:32:21 +0200 Subject: [PATCH 2/5] refactor: optimized the gitignore declaration --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 02f2fd22d60..60ac85e8831 100644 --- a/.gitignore +++ b/.gitignore @@ -41,7 +41,7 @@ output/power-apps !/build-power-apps/package.json !/build-power-apps/package-lock.json !/build-power-apps/DBUI/** -!/build-power-apps/**/*.*.resx +!/build-power-apps/**/strings/*.*.resx .cache **/playwright-report /.parcel-cache/ From 5a45be3683fa2c4658ea28f66a6188801b308415 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 22 Jul 2023 12:35:14 +0200 Subject: [PATCH 3/5] feat: added english language files --- .../alert/DBAlert/strings/DBAlert.1033.resx | 145 +++++++++++++++++ .../brand/DBBrand/strings/DBBrand.1033.resx | 146 +++++++++++++++++ .../DBButton/strings/DBButton.1033.resx | 147 ++++++++++++++++++ .../card/DBCard/strings/DBCard.1033.resx | 132 ++++++++++++++++ .../DBCheckbox/strings/DBCheckbox.1033.resx | 143 +++++++++++++++++ .../icon/DBIcon/strings/DBIcon.1033.resx | 139 +++++++++++++++++ .../DBInfotext/strings/DBInfotext.1033.resx | 138 ++++++++++++++++ .../link/DBLink/strings/DBLink.1033.resx | 141 +++++++++++++++++ .../radio/DBRadio/strings/DBRadio.1033.resx | 142 +++++++++++++++++ .../tag/DBTag/strings/DBTag.1033.resx | 139 +++++++++++++++++ 10 files changed, 1412 insertions(+) create mode 100644 build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx create mode 100644 build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx create mode 100644 build-power-apps/button/DBButton/strings/DBButton.1033.resx create mode 100644 build-power-apps/card/DBCard/strings/DBCard.1033.resx create mode 100644 build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx create mode 100644 build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx create mode 100644 build-power-apps/infotext/DBInfotext/strings/DBInfotext.1033.resx create mode 100644 build-power-apps/link/DBLink/strings/DBLink.1033.resx create mode 100644 build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx create mode 100644 build-power-apps/tag/DBTag/strings/DBTag.1033.resx diff --git a/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx b/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx new file mode 100644 index 00000000000..ba50f62960b --- /dev/null +++ b/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Headline + Text der Überschrift + + + Paragraph + + + Icon + + + Variant + + + Clicked + + + Height + + + Width + + + DB Alert + + diff --git a/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx b/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx new file mode 100644 index 00000000000..60831e6093b --- /dev/null +++ b/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Logo URL + Linkziel des Logos + + + Link title + Title Attribut + + + Text + + + Logo URL + + + Alternative text + + + Logo width + + + Logo height + + + DB Brand + + diff --git a/build-power-apps/button/DBButton/strings/DBButton.1033.resx b/build-power-apps/button/DBButton/strings/DBButton.1033.resx new file mode 100644 index 00000000000..b0ea7161016 --- /dev/null +++ b/build-power-apps/button/DBButton/strings/DBButton.1033.resx @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Variant + + + Icon + + + Hide text + + + Icon width + + + Clicked + + + Height + + + Width + + + DB Button + + diff --git a/build-power-apps/card/DBCard/strings/DBCard.1033.resx b/build-power-apps/card/DBCard/strings/DBCard.1033.resx new file mode 100644 index 00000000000..833fbcdcd31 --- /dev/null +++ b/build-power-apps/card/DBCard/strings/DBCard.1033.resx @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Variant + + + Height + + + Width + + + DB Card + + diff --git a/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx b/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx new file mode 100644 index 00000000000..7ab88832e12 --- /dev/null +++ b/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Fieldname + Name für die Formularübermittlung + + + Initial value + + + ID + Wert des id-HTML-Attributs + + + Height + + + Width + + + DB Checkbox + + diff --git a/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx b/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx new file mode 100644 index 00000000000..a4407350804 --- /dev/null +++ b/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Icon + + + Display text + + + Alternative text + Text des title-HTML-Attributs + + + Height + + + Width + + + DB Icon + + diff --git a/build-power-apps/infotext/DBInfotext/strings/DBInfotext.1033.resx b/build-power-apps/infotext/DBInfotext/strings/DBInfotext.1033.resx new file mode 100644 index 00000000000..f6151b85c12 --- /dev/null +++ b/build-power-apps/infotext/DBInfotext/strings/DBInfotext.1033.resx @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Variant + + + Size + + + Height + + + Width + + + DB Infotext + + diff --git a/build-power-apps/link/DBLink/strings/DBLink.1033.resx b/build-power-apps/link/DBLink/strings/DBLink.1033.resx new file mode 100644 index 00000000000..7ee49e68302 --- /dev/null +++ b/build-power-apps/link/DBLink/strings/DBLink.1033.resx @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Link URL + + + Alternative text + + + Variant + + + Height + + + Width + + + DB Link + + diff --git a/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx b/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx new file mode 100644 index 00000000000..0f4f6c9e054 --- /dev/null +++ b/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Fieldname + + + ID + Feld ID-HTML-Wert + + + Initial value + + + Height + + + Width + + + DB Radio + + diff --git a/build-power-apps/tag/DBTag/strings/DBTag.1033.resx b/build-power-apps/tag/DBTag/strings/DBTag.1033.resx new file mode 100644 index 00000000000..8695a7b9f6f --- /dev/null +++ b/build-power-apps/tag/DBTag/strings/DBTag.1033.resx @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Fieldname + Key mit dem der Feldwert übermittelt wird. + + + Variant + + + Height + + + Width + + + DB Tag + + From ea42afe821354822de4ca3c06e8f8d5d92263988 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 22 Jul 2023 12:39:31 +0200 Subject: [PATCH 4/5] refactor: translated those descriptions --- build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx | 2 +- build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx | 4 ++-- .../checkbox/DBCheckbox/strings/DBCheckbox.1033.resx | 4 ++-- build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx | 2 +- build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx | 2 +- build-power-apps/tag/DBTag/strings/DBTag.1033.resx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx b/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx index ba50f62960b..26bc0e38cab 100644 --- a/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx +++ b/build-power-apps/alert/DBAlert/strings/DBAlert.1033.resx @@ -119,7 +119,7 @@ Headline - Text der Überschrift + Headline copy Paragraph diff --git a/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx b/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx index 60831e6093b..d7253dbb941 100644 --- a/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx +++ b/build-power-apps/brand/DBBrand/strings/DBBrand.1033.resx @@ -119,11 +119,11 @@ Logo URL - Linkziel des Logos + Logos link target Link title - Title Attribut + Title attribute Text diff --git a/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx b/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx index 7ab88832e12..3c9d1efedea 100644 --- a/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx +++ b/build-power-apps/checkbox/DBCheckbox/strings/DBCheckbox.1033.resx @@ -122,14 +122,14 @@ Fieldname - Name für die Formularübermittlung + Name for this fields form-submittal Initial value ID - Wert des id-HTML-Attributs + id-HTML-attributs value Height diff --git a/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx b/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx index a4407350804..944eadb447c 100644 --- a/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx +++ b/build-power-apps/icon/DBIcon/strings/DBIcon.1033.resx @@ -125,7 +125,7 @@ Alternative text - Text des title-HTML-Attributs + Copy of the title-HTML-attribute Height diff --git a/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx b/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx index 0f4f6c9e054..64d52ddc290 100644 --- a/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx +++ b/build-power-apps/radio/DBRadio/strings/DBRadio.1033.resx @@ -125,7 +125,7 @@ ID - Feld ID-HTML-Wert + Value of the ID-HTML-attribute Initial value diff --git a/build-power-apps/tag/DBTag/strings/DBTag.1033.resx b/build-power-apps/tag/DBTag/strings/DBTag.1033.resx index 8695a7b9f6f..df00bbc5cd8 100644 --- a/build-power-apps/tag/DBTag/strings/DBTag.1033.resx +++ b/build-power-apps/tag/DBTag/strings/DBTag.1033.resx @@ -122,7 +122,7 @@ Fieldname - Key mit dem der Feldwert übermittelt wird. + Name for this fields form-submittal Variant From 0bafce2c80c4f42845ed05b18036246127366fb3 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Sat, 22 Jul 2023 13:02:14 +0200 Subject: [PATCH 5/5] refactor: added missing file --- .../input/DBInput/strings/DBInput.1033.resx | 147 ++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 build-power-apps/input/DBInput/strings/DBInput.1033.resx diff --git a/build-power-apps/input/DBInput/strings/DBInput.1033.resx b/build-power-apps/input/DBInput/strings/DBInput.1033.resx new file mode 100644 index 00000000000..7a2c5801274 --- /dev/null +++ b/build-power-apps/input/DBInput/strings/DBInput.1033.resx @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Label + + + Placeholder + + + Initial value + + + Icon + + + Icon behind + + + Variant + + + Height + + + Width + + + DB Input + +