From cb31349ee2b109ecc080b7c40151b3ce1b0c6a1b Mon Sep 17 00:00:00 2001 From: Sonali Agrawal Date: Wed, 3 Apr 2019 19:15:47 +0530 Subject: [PATCH 01/21] Update README to add description of "date calculation" functionality (#365) Fixes #140. Added a one-liner description about the date calculation functionality Description of the changes: * This change maintains consistency by writing it after the description of the programmer calculator so that it matches the order of the positions of these functionalities in the hamburger menu of the calculator. * Just like the other descriptions, this is also a one-liner * This description covers both the functionality under "date calculation" i.e. the difference between the dates and adding/subtracting a date from another. Co-Authored-By: sonali9696 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ffba40c0..d967b175 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Calculator ships regularly with new features and bug fixes. You can get the late - Standard Calculator functionality which offers basic operations and evaluates commands immediately as they are entered. - Scientific Calculator functionality which offers expanded operations and evaluates commands using order of operations. - Programmer Calculator functionality which offers common mathematical operations for developers including conversion between common bases. +- Date Calculation functionality which offers the difference between two dates, as well as the ability to add/subtract years, months and/or days to/from a given input date. - Calculation history and memory capabilities. - Conversion between many units of measurement. - Currency conversion based on data retrieved from [Bing](https://www.bing.com). From 6d779a8815651fa0450583c3e7d762d134be12e1 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Thu, 4 Apr 2019 09:19:59 -0700 Subject: [PATCH 02/21] Updating version of release builds to 1904 (#422) --- build/pipelines/azure-pipelines.release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pipelines/azure-pipelines.release.yaml b/build/pipelines/azure-pipelines.release.yaml index a4507e21..f687ec4a 100644 --- a/build/pipelines/azure-pipelines.release.yaml +++ b/build/pipelines/azure-pipelines.release.yaml @@ -9,8 +9,8 @@ pr: none variables: versionMajor: 10 - versionMinor: 1903 - versionBuild: $[counter('10.1903.*', 0)] + versionMinor: 1904 + versionBuild: $[counter('10.1904.*', 0)] versionPatch: 0 name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)' From 71e34c6f01a3148b18e37da5cde873ed76d221a2 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Thu, 4 Apr 2019 16:11:13 -0700 Subject: [PATCH 03/21] Fix inline script in loc pipeline (#434) --- build/pipelines/azure-pipelines.loc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pipelines/azure-pipelines.loc.yaml b/build/pipelines/azure-pipelines.loc.yaml index d1ef8552..7c5ef246 100644 --- a/build/pipelines/azure-pipelines.loc.yaml +++ b/build/pipelines/azure-pipelines.loc.yaml @@ -35,7 +35,7 @@ jobs: cd $(Build.SourcesDirectory) git add -A git diff --cached --exit-code - echo '##vso[task.setvariable variable=hasChanges]%errorlevel%' + echo ##vso[task.setvariable variable=hasChanges]%errorlevel% git diff --cached > $(Build.ArtifactStagingDirectory)\LocalizedStrings.patch displayName: Check for changes and create patch file From 6f49b17bf099c10830c15ea93e1207068896045b Mon Sep 17 00:00:00 2001 From: Rudy Huyn Date: Thu, 4 Apr 2019 16:55:12 -0700 Subject: [PATCH 04/21] =?UTF-8?q?Add=20Reveal=20Highlight=20on=20AccentCal?= =?UTF-8?q?cButtonStyle=20+=20fix=20accessibility=20iss=E2=80=A6=20(#374)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Reveal Highlight effect on the 4 basic operator buttons + Equal button (effect more visible with purple and all grey-ish accent colors). Also fixes a high contrast issue when the operator buttons were pressed. --- src/Calculator/App.xaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/Calculator/App.xaml b/src/Calculator/App.xaml index 60103662..51c2846d 100644 --- a/src/Calculator/App.xaml +++ b/src/Calculator/App.xaml @@ -34,7 +34,11 @@ FallbackColor="Transparent" TargetTheme="Dark" Color="Transparent"/> - + @@ -66,7 +70,11 @@ FallbackColor="Transparent" TargetTheme="Light" Color="Transparent"/> - + @@ -93,7 +101,8 @@ - + + @@ -326,9 +335,9 @@ @@ -701,7 +710,7 @@ - + From e7eace57f8734555157a4ebb61606524ddd38193 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Fri, 5 Apr 2019 08:39:29 -0700 Subject: [PATCH 05/21] Update localized strings 2019-04-04 (#438) --- src/Calculator/Resources/af-ZA/Resources.resw | 8 +++++++ src/Calculator/Resources/am-ET/Resources.resw | 10 ++++++++- src/Calculator/Resources/ar-SA/Resources.resw | 10 ++++++++- .../Resources/az-Latn-AZ/Resources.resw | 8 +++++++ src/Calculator/Resources/be-BY/Resources.resw | 10 ++++++++- src/Calculator/Resources/bg-BG/Resources.resw | 8 +++++++ src/Calculator/Resources/bn-BD/Resources.resw | 10 ++++++++- src/Calculator/Resources/ca-ES/Resources.resw | 12 ++++++++-- src/Calculator/Resources/cs-CZ/Resources.resw | 8 +++++++ src/Calculator/Resources/da-DK/Resources.resw | 12 ++++++++-- src/Calculator/Resources/de-DE/Resources.resw | 22 +++++++++++++------ src/Calculator/Resources/el-GR/Resources.resw | 8 +++++++ src/Calculator/Resources/en-GB/Resources.resw | 12 ++++++++-- src/Calculator/Resources/es-ES/Resources.resw | 10 ++++++++- src/Calculator/Resources/es-MX/Resources.resw | 10 ++++++++- src/Calculator/Resources/et-EE/Resources.resw | 8 +++++++ src/Calculator/Resources/eu-ES/Resources.resw | 8 +++++++ src/Calculator/Resources/fa-IR/Resources.resw | 8 +++++++ src/Calculator/Resources/fi-FI/Resources.resw | 8 +++++++ .../Resources/fil-PH/Resources.resw | 10 ++++++++- src/Calculator/Resources/fr-CA/Resources.resw | 14 +++++++++--- src/Calculator/Resources/fr-FR/Resources.resw | 10 ++++++++- src/Calculator/Resources/gl-ES/Resources.resw | 8 +++++++ src/Calculator/Resources/he-IL/Resources.resw | 8 +++++++ src/Calculator/Resources/hi-IN/Resources.resw | 10 ++++++++- src/Calculator/Resources/hr-HR/Resources.resw | 10 ++++++++- src/Calculator/Resources/hu-HU/Resources.resw | 8 +++++++ src/Calculator/Resources/id-ID/Resources.resw | 8 +++++++ src/Calculator/Resources/is-IS/Resources.resw | 8 +++++++ src/Calculator/Resources/it-IT/Resources.resw | 8 +++++++ src/Calculator/Resources/ja-JP/Resources.resw | 12 ++++++++-- src/Calculator/Resources/kk-KZ/Resources.resw | 10 ++++++++- src/Calculator/Resources/km-KH/Resources.resw | 8 +++++++ src/Calculator/Resources/kn-IN/Resources.resw | 8 +++++++ src/Calculator/Resources/ko-KR/Resources.resw | 8 +++++++ src/Calculator/Resources/lo-LA/Resources.resw | 8 +++++++ src/Calculator/Resources/lt-LT/Resources.resw | 14 +++++++++--- src/Calculator/Resources/lv-LV/Resources.resw | 8 +++++++ src/Calculator/Resources/mk-MK/Resources.resw | 10 ++++++++- src/Calculator/Resources/ml-IN/Resources.resw | 10 ++++++++- src/Calculator/Resources/ms-MY/Resources.resw | 8 +++++++ src/Calculator/Resources/nb-NO/Resources.resw | 8 +++++++ src/Calculator/Resources/nl-NL/Resources.resw | 8 +++++++ src/Calculator/Resources/pl-PL/Resources.resw | 8 +++++++ src/Calculator/Resources/pt-BR/Resources.resw | 8 +++++++ src/Calculator/Resources/pt-PT/Resources.resw | 8 +++++++ src/Calculator/Resources/ro-RO/Resources.resw | 8 +++++++ src/Calculator/Resources/ru-RU/Resources.resw | 12 ++++++++-- src/Calculator/Resources/sk-SK/Resources.resw | 8 +++++++ src/Calculator/Resources/sl-SI/Resources.resw | 8 +++++++ src/Calculator/Resources/sq-AL/Resources.resw | 12 ++++++++-- .../Resources/sr-Latn-RS/Resources.resw | 16 ++++++++++---- src/Calculator/Resources/sv-SE/Resources.resw | 8 +++++++ src/Calculator/Resources/sw-KE/Resources.resw | 8 +++++++ src/Calculator/Resources/ta-IN/Resources.resw | 8 +++++++ src/Calculator/Resources/te-IN/Resources.resw | 12 ++++++++-- src/Calculator/Resources/th-TH/Resources.resw | 10 ++++++++- src/Calculator/Resources/tr-TR/Resources.resw | 8 +++++++ src/Calculator/Resources/uk-UA/Resources.resw | 12 ++++++++-- .../Resources/uz-Latn-UZ/Resources.resw | 8 +++++++ src/Calculator/Resources/vi-VN/Resources.resw | 12 ++++++++-- src/Calculator/Resources/zh-CN/Resources.resw | 8 +++++++ src/Calculator/Resources/zh-TW/Resources.resw | 14 +++++++++--- 63 files changed, 556 insertions(+), 52 deletions(-) diff --git a/src/Calculator/Resources/af-ZA/Resources.resw b/src/Calculator/Resources/af-ZA/Resources.resw index 03914db2..366e0a09 100644 --- a/src/Calculator/Resources/af-ZA/Resources.resw +++ b/src/Calculator/Resources/af-ZA/Resources.resw @@ -909,6 +909,14 @@ Hakies regs Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + Aantal oop hakies %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + Daar is geen oop hakies om te sluit nie. + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + Wetenskaplike notering Screen reader prompt for the Calculator F-E the scientific operator keypad diff --git a/src/Calculator/Resources/am-ET/Resources.resw b/src/Calculator/Resources/am-ET/Resources.resw index bf5de965..24edcb5f 100644 --- a/src/Calculator/Resources/am-ET/Resources.resw +++ b/src/Calculator/Resources/am-ET/Resources.resw @@ -909,6 +909,14 @@ የቀኝ ቅንፍ Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + የክፍት ቅንፎች ብዛት %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + ምንም የሚዘጋ ክፍት ቅንፍ የለም። + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + ሳይንሳዊ እሳቤ Screen reader prompt for the Calculator F-E the scientific operator keypad @@ -2278,7 +2286,7 @@ Displayed on a link to the Microsoft Privacy Statement on the About panel - © %1 Microsoft. ሁሉም መብቱ የተጠበቀ። + © %1 Microsoft. ሁሉም መብቶች በህግ የተከበሩ ናቸው። {Locked="%1"}. Copyright statement, displayed on the About panel. %1 = the current year (4 digits) diff --git a/src/Calculator/Resources/ar-SA/Resources.resw b/src/Calculator/Resources/ar-SA/Resources.resw index 296f7952..051c055c 100644 --- a/src/Calculator/Resources/ar-SA/Resources.resw +++ b/src/Calculator/Resources/ar-SA/Resources.resw @@ -909,6 +909,14 @@ أقواس يمنى Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + عدد الأقواس المفتوحة %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + لا توجد أي أقواس مفتوحة لإغلاقها. + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + رموز علمية Screen reader prompt for the Calculator F-E the scientific operator keypad @@ -2279,7 +2287,7 @@ Displayed on a link to the Microsoft Privacy Statement on the About panel - © %1 Microsoft. جميع الحقوق محفوظة. + حقوق النشر © محفوظة لشركة Microsoft لعام %1. جميع الحقوق محفوظة. {Locked="%1"}. Copyright statement, displayed on the About panel. %1 = the current year (4 digits) diff --git a/src/Calculator/Resources/az-Latn-AZ/Resources.resw b/src/Calculator/Resources/az-Latn-AZ/Resources.resw index 8cdfe566..60fa2da8 100644 --- a/src/Calculator/Resources/az-Latn-AZ/Resources.resw +++ b/src/Calculator/Resources/az-Latn-AZ/Resources.resw @@ -909,6 +909,14 @@ Sağ mötərizə Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + Açıq mötərizənin sayı %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + Bağlamaq üçün açıq mötərizələr yoxdur. + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + Eksponensial format Screen reader prompt for the Calculator F-E the scientific operator keypad diff --git a/src/Calculator/Resources/be-BY/Resources.resw b/src/Calculator/Resources/be-BY/Resources.resw index bb36bc97..f5498b31 100644 --- a/src/Calculator/Resources/be-BY/Resources.resw +++ b/src/Calculator/Resources/be-BY/Resources.resw @@ -909,6 +909,14 @@ Правая дужка Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + Лік адсутных дужак %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + Няма незакрытых дужак. + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + Экспанентавы запіс Screen reader prompt for the Calculator F-E the scientific operator keypad @@ -2899,4 +2907,4 @@ Пагадненне аб выкарыстанні сэрвісаў Microsoft Displayed on a link to the Microsoft Services Agreement in the about this app information - + \ No newline at end of file diff --git a/src/Calculator/Resources/bg-BG/Resources.resw b/src/Calculator/Resources/bg-BG/Resources.resw index 676ee4d4..069f995a 100644 --- a/src/Calculator/Resources/bg-BG/Resources.resw +++ b/src/Calculator/Resources/bg-BG/Resources.resw @@ -909,6 +909,14 @@ Дясна скоба Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + Брой отворени скоби: %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + Няма отворени скоби за затваряне. + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + Експоненциален запис Screen reader prompt for the Calculator F-E the scientific operator keypad diff --git a/src/Calculator/Resources/bn-BD/Resources.resw b/src/Calculator/Resources/bn-BD/Resources.resw index 2836bc7a..f4a13742 100644 --- a/src/Calculator/Resources/bn-BD/Resources.resw +++ b/src/Calculator/Resources/bn-BD/Resources.resw @@ -909,6 +909,14 @@ ডান বন্ধনী Screen reader prompt for the Calculator ")" button on the scientific operator keypad + + বন্ধনী গণনা খুলুন %1 + {Locked="%1"} Screen reader prompt for the Calculator "(" button on the scientific and programmer operator keypad. %1 is the localized count of open parenthesis, e.g. "2". + + + বন্ধ করার জন্য এখানে কোনো খোলা বন্ধনী নেই। + {Locked="%1"} Screen reader prompt for the Calculator when the ")" button on the scientific and programmer operator keypad cannot be added to the equation. e.g. "1+)". + বৈজ্ঞানিক নোটেশন Screen reader prompt for the Calculator F-E the scientific operator keypad @@ -2278,7 +2286,7 @@ Displayed on a link to the Microsoft Privacy Statement on the About panel - © %1 Microsoft. সর্বস্বত্ব সংরক্ষিত। + © %1 Microsoft। সর্বস্বত্ব সংরক্ষিত। {Locked="%1"}. Copyright statement, displayed on the About panel. %1 = the current year (4 digits) diff --git a/src/Calculator/Resources/ca-ES/Resources.resw b/src/Calculator/Resources/ca-ES/Resources.resw index 63e2b9a5..b2672e8f 100644 --- a/src/Calculator/Resources/ca-ES/Resources.resw +++ b/src/Calculator/Resources/ca-ES/Resources.resw @@ -1,4 +1,4 @@ - + 15 - 72 - 46 - 28 - - - - - - - - - - - - + - - - - - + - - - - - - - - -