Commit Graph

1261 Commits

Author SHA1 Message Date
Naveen Singh
7da5877800 chore(l10n): update Bulgarian translations
Currently translated at 67.3% (64 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/bg/
Via: Weblate
2025-07-04 16:37:31 +05:30
Salif Mehmed
1d9a6bfd06 chore(l10n): update Bulgarian translations
Currently translated at 67.3% (64 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/bg/
Via: Weblate
2025-07-04 16:37:31 +05:30
Alexander Gabilondo
f81e4f21e8 chore(l10n): update Basque translations
Currently translated at 4.2% (4 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/eu/
Via: Weblate
2025-07-04 16:37:31 +05:30
Agnieszka C
9f06fc5f5f feat: use system locale for number formatting instead of setting (#64) (#106)
* feat: use system locale for number formatting instead of setting (#64)

* Fixed formatting
2025-07-04 16:24:05 +05:30
Gropinou
0a215ff1c9 fix: replace misleading microsecond strings with millisecond (#108) 2025-07-04 09:14:25 +05:30
Naveen Singh
1f458a1f1a chore: ignore extra translations and update detekt rules
* chore: ignore extra translations in lint

Extra translations are removed automatically by Weblate

* chore: update detekt rules

More compose-friendly

* chore: update lint baselines
2025-07-03 21:16:08 +05:30
fossifybot[bot]
9c3c3bba1a chore: update lint baselines (#104)
Co-authored-by: fossifybot[bot] <212866877+fossifybot[bot]@users.noreply.github.com>
2025-07-01 10:05:26 +05:30
Ismail Choudhury
4fa02677b1 chore(l10n): update English (United Kingdom) translations
Currently translated at 2.1% (2 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/en_GB/
Via: Weblate
2025-06-30 19:42:46 +05:30
Bora Atıcı
41c36dd5bb chore(l10n): update Turkish translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/tr/
Via: Weblate
2025-06-30 19:42:46 +05:30
Naveen Singh
29643a9030 style: reformat code and optimize imports (#103) 2025-06-30 19:38:35 +05:30
Naveen Singh
c5631f5975 fix: add proguard rules for EvalEx (#102)
See: https://github.com/ezylang/EvalEx/issues/338
2025-06-30 16:29:08 +05:30
Naveen Singh
ad78dbc70b fix: only show plus/minus button for supported units (#101)
* fix: only show plus/minus button for supported units

Also enabled converter layout animation.

* style: format code
2025-06-30 15:41:49 +05:30
Tomasz Świstak
3786f8311e feat: use bigdecimal instead of double (#96)
* feat: use bigdecimal instead of double

* chore: add changelog entry

* chore: revert comment about percentage handling

I've removed it mistakenly

* fix: detekt issues

* fix: detekt issue

* Update app/src/main/kotlin/org/fossify/math/helpers/converters/LengthConverter.kt

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>

* refactor: use common MathContext everywhere

* fix: revert old way of handling square roots

* refactor: simplify sqrt management

* feat: add evalex license (depends on commons update)

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
2025-06-29 10:22:56 +05:30
dependabot[bot]
a998f21191 chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0 (#93)
* chore(deps): bump org.fossify:commons from 3.0.5 to 4.0.0

Bumps [org.fossify:commons](https://github.com/FossifyOrg/commons) from 3.0.5 to 4.0.0.
- [Commits](https://github.com/FossifyOrg/commons/compare/3.0.5...4.0.0)

---
updated-dependencies:
- dependency-name: org.fossify:commons
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(i18n): generate locale config automatically

One can be maintained in-app if missing translations become a problem.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-25 15:45:21 +05:30
Naveen Singh
41679375d6 chore: update lint rules and baselines (#95) 2025-06-24 16:01:41 +05:30
Naveen Singh
3fe17c7b54 fix: add btnPlusMinus to getButtonIds() (#91)
* fix: add btnPlusMinus to `getButtonIds()`

Forgot to add it after commiting https://github.com/FossifyOrg/Calculator/pull/49#discussion_r2117247270

* style: format code
2025-06-19 19:49:34 +05:30
Hbabou Sami
b6f518c5a3 feat: implement negative temperature conversion (#44)
* Add conditional visibility for +/- button in unit converter

* Add negative number toggle for converter

* Add +/- button for temperature converter only

* Improve temperature conversion handling

- Fixed crash when deleting negative values
- Added support for entering negative sign first
- Implemented temperature limits validation during input:
  * Block negative values for Kelvin and Rankine (minimum 0)
  * Enforce absolute zero limits:
    - Celsius: minimum -273.15
    - Fahrenheit: minimum -459.67
- Added validation during digit entry to avoid going below absolute 0 and also after sign toggle

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/activities/UnitConverterActivity.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* Update app/src/main/kotlin/org/fossify/math/views/ConverterView.kt

* fix: add missing import statements

* docs: update changelog

---------

Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-06-19 19:29:11 +05:30
Naveen Singh
506aeb9db9 chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_BR/
Via: Weblate
2025-06-17 16:25:43 +05:30
elid
3d6f0fe275 chore(l10n): update Arabic translations
Currently translated at 34.7% (33 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-06-17 16:25:43 +05:30
Naveen Singh
d21de9f45f chore(deps): bump org.fossify:commons to 3.0.3 (#84)
* chore(deps): bump org.fossify:commons to 3.0.3

* fix: update menu item title
2025-06-12 18:31:59 +05:30
Hosted Weblate
66b17f86f4 chore(l10n): update translation files via Remove blank strings
Translation files for Fossify/Calculator were updated
by the "Remove blank strings" hook.

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
6dc392d924 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
196683bcc4 chore(l10n): update Arabic translations
Currently translated at 34.7% (33 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-06-06 18:41:33 +05:30
elid
abbd93d9e7 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-06-06 18:41:33 +05:30
abdelbasset jabrane
97b1451334 chore(l10n): update Arabic translations
Currently translated at 31.5% (30 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ar/
Via: Weblate
2025-05-31 14:00:15 +05:30
Flavio F. M
b68663958e chore(l10n): update Portuguese (Brazil) translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_BR/
Via: Weblate
2025-05-31 14:00:15 +05:30
Feliks-WR
a997f22e45 feat(l10n): add Urdu translations
Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/ur/
Via: Weblate
2025-05-31 14:00:15 +05:30
Do you know my name?
d83c2a1592 chore(l10n): update Ukrainian translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/uk/
Via: Weblate
2025-05-31 14:00:15 +05:30
elid
1f969eb183 chore(l10n): update Hebrew translations
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
Via: Weblate
2025-05-31 14:00:15 +05:30
dependabot[bot]
dfec570d30 chore(deps): bump org.jetbrains.kotlin.android from 1.9.25 to 2.1.21 (#74)
* chore(deps): bump org.jetbrains.kotlin.android from 1.9.25 to 2.1.21

Bumps [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin) from 1.9.25 to 2.1.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.9.25...v2.1.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin.android
  dependency-version: 2.1.21
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): add compose compiler gradle plugin

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Naveen Singh <snaveen935@gmail.com>
2025-05-29 20:29:51 +05:30
Naveen Singh
94b5848f6f build: move app version to gradle.properties (#68) 2025-05-26 14:19:59 +05:30
kharrr69
a17e06cd86 Translated using Weblate (Indonesian)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/id/
2025-05-07 08:41:37 +05:30
Sergio Marques
254f51217c Translated using Weblate (Portuguese)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt/
2025-05-07 08:41:37 +05:30
Sylvain Pichon
cb8dd025cc Translated using Weblate (French)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/fr/
2025-05-07 08:41:37 +05:30
ssantos
3031405dfd Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_PT/
2025-05-07 08:41:37 +05:30
ssantos
8b87fca799 Translated using Weblate (Portuguese)
Currently translated at 97.8% (93 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt/
2025-05-07 08:41:37 +05:30
necrotic
dbd9bb31b8 Translated using Weblate (Hindi)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/hi/
2025-05-07 08:41:37 +05:30
Jeff Huang
f134365e93 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/zh_Hant/
2025-05-07 08:41:37 +05:30
Harald Herreros
658ff29f6a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/nb_NO/
2025-05-07 08:41:37 +05:30
Harald Herreros
7431712709 Translated using Weblate (Norwegian Bokmål)
Currently translated at 41.0% (39 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/nb_NO/
2025-05-07 08:41:37 +05:30
Petri Hämäläinen
32c095e58c Translated using Weblate (Finnish)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/fi/
2025-05-07 08:41:37 +05:30
Petri Hämäläinen
dd15cb6bc4 Translated using Weblate (Finnish)
Currently translated at 49.4% (47 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/fi/
2025-05-07 08:41:37 +05:30
Naveen Singh
b08e661244 build: allow builds without signing configuration 2025-05-05 19:12:45 +05:30
Naveen Singh
c71a2a6604 build: use env variables for release signing fallback 2025-05-05 19:12:45 +05:30
Naveen Singh
71b025d5e0 refactor(build): rename prepaid product flavor to gplay 2025-05-05 19:12:45 +05:30
Tekhnikal
8f5541b2bb Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/pt_BR/
2025-03-25 03:56:20 +01:00
elid
affd360251 Translated using Weblate (Hebrew)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/he/
2025-03-24 06:10:26 +01:00
en2sv
252aa0cd91 Translated using Weblate (Swedish)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/sv/
2025-03-22 22:02:05 +01:00
AP
0777573bf4 Translated using Weblate (Esperanto)
Currently translated at 97.8% (93 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/eo/
2025-03-21 23:03:07 +01:00
Guillaume
ac7f4870da Translated using Weblate (Dutch)
Currently translated at 100.0% (95 of 95 strings)

Translation: Fossify/Calculator
Translate-URL: https://hosted.weblate.org/projects/fossify/calculator/nl/
2025-03-20 20:47:36 +01:00