Commit Graph

6573 Commits

Author SHA1 Message Date
Dan Yeaw
d3603c5a34
Revert "Relock dependencies, update known_third_party isort config"
This reverts commit 93fd1f5c50.
2021-10-03 20:51:30 -04:00
Dan Yeaw
b646566130
Bump version and update news 2021-10-03 20:50:46 -04:00
Dan Yeaw
05961ed20d
Bump version and news 2021-10-03 14:52:30 -04:00
Weblate (bot)
a308dda032
Translated using Weblate (Finnish) (#1056)
Currently translated at 60.6% (200 of 330 strings)

Translation: Gaphor/Gaphor
Translate-URL: https://hosted.weblate.org/projects/gaphor/gaphor/fi/

Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2021-10-03 14:47:29 -04:00
allcontributors[bot]
25a4e05e7c docs: add ovari as a contributor for bug (#1055)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-10-03 14:24:48 -04:00
Dan Yeaw
cc14f25f45
Merge pull request #1052 from gaphor/remove-importlib_metadata
Remove importlib_metadata
2021-10-03 14:22:59 -04:00
Dan Yeaw
93fd1f5c50
Relock dependencies, update known_third_party isort config 2021-10-03 14:05:50 -04:00
Dan Yeaw
79ba7d30fa
Merge pull request #1050 from gaphor/simpler-help-service
Simpler services
2021-10-03 13:55:21 -04:00
Arjan Molenaar
51013d400d
Merge pull request #1049 from gaphor/default-name-translation
Add translation of more elements
2021-10-03 17:29:12 +02:00
Arjan Molenaar
5eb9f1b34a
Fix duplicate imports 2021-10-03 17:12:59 +02:00
Arjan Molenaar
71bfe63285 Change ternary to if statement 2021-10-03 17:08:21 +02:00
Arjan Molenaar
b588e387e7 Update all translations
Allow for translating (static) stereotypes.
2021-10-03 17:08:03 +02:00
Arjan Molenaar
bf577aeb6d Make all stereotypes translatable 2021-10-03 17:03:13 +02:00
Arjan Molenaar
0646fca839
Fix translation in Save As file type dropdown
Fixes #1044.
2021-10-03 15:03:05 +02:00
Arjan Molenaar
92c6dddb18
Cache entry points read
This speeds up testing, and possibly loading:

- with `importlib_metadata`: 17 sec
- with plain `importlib.metadata`: 23 sec
- with `importlib.metadata` and caching: 15 sec
2021-10-03 14:54:06 +02:00
Arjan Molenaar
215b4de968
Fix entry point function names 2021-10-03 14:49:57 +02:00
Arjan Molenaar
35d7eb3b10
Remove importlib_metadata
Replace by importlib.metadata, introduced in Python 3.8.
2021-10-03 14:45:45 +02:00
Arjan Molenaar
14a7dafa08
Merge branch 'remove-typing-extensions' 2021-10-03 14:40:46 +02:00
Arjan Molenaar
89d10ce190
Remove Session appservice
It's no longer needed, and the naming can raise confusion.
2021-10-03 13:04:50 +02:00
Arjan Molenaar
a35af59de2
Make Help service an ordinary service
No need to make it an application wide service.
2021-10-03 13:03:08 +02:00
Arjan Molenaar
cd9332b19f
Cleanup: loading About and Shortcuts .ui files 2021-10-03 12:52:24 +02:00
Arjan Molenaar
b099a53c16
Obtain Gaphor version in a uniform way 2021-10-03 12:42:32 +02:00
Arjan Molenaar
7b93b0241d
Remove unused imports from styling module 2021-10-03 12:34:51 +02:00
Arjan Molenaar
d76e39b38f
Cleanup diagram tools tests a little 2021-10-03 12:18:33 +02:00
Arjan Molenaar
e74aafa281
Move cross-package tests up 2021-10-03 12:16:54 +02:00
Arjan Molenaar
264f4f3ce1
Add missing test case for translate_ui_string() 2021-10-03 12:07:47 +02:00
Arjan Molenaar
130adffb64
Move UI file translator to gaphor.i18n module
The code is not diagram related, so it did not belong there.
2021-10-03 11:56:54 +02:00
Arjan Molenaar
04fe7effcd Spell "C4 Model", with capital M 2021-10-03 10:41:39 +02:00
Dan Yeaw
36d699f944
Rebuild translation files 2021-10-02 22:03:10 -04:00
Dan Yeaw
a71b27b347
Improve translation of about dialog title 2021-10-02 22:02:53 -04:00
Dan Yeaw
f00ca3fe65 Add spaces in default element names 2021-10-02 21:33:28 -04:00
Dan Yeaw
aaf8261d0b Add additional STPA translations 2021-10-02 21:32:09 -04:00
Dan Yeaw
d56d234d10 Localize default names of elements 2021-10-02 21:12:38 -04:00
Dan Yeaw
f76f8c2dd3
Merge pull request #1042 from gaphor/fix-about-dialog
Fix about dialog logo
2021-10-02 20:14:55 -04:00
Arjan Molenaar
b99fc0e48b
Merge pull request #1041 from gaphor/sourcery/remove-typing-extensions
Up typing compliance to 3.9, and remove typing_extensions (Sourcery refactored)
2021-10-02 22:29:23 +02:00
Arjan Molenaar
156c1f11f6
Move logo to the icon theme
So it can be picked up by the about dialog again.
2021-10-02 22:14:09 +02:00
pre-commit-ci[bot]
7a428dd6ce [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-10-02 19:09:49 +00:00
Sourcery AI
1cd1e1cc41 'Refactored by Sourcery' 2021-10-02 19:08:53 +00:00
Arjan Molenaar
63cdb6b90e
Up typing compliance to 3.9, and remove typing_extensions 2021-10-02 20:59:44 +02:00
allcontributors[bot]
a9d05f109f
docs: add JonnathanRiquelmo as a contributor for translation (#1039)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-10-01 21:39:45 -04:00
Dan Yeaw
f43099b895
Bump version and update news 2021-10-01 21:31:21 -04:00
dependabot[bot]
4ef6e80781
Bump paambaati/codeclimate-action from 2.7.5 to 3.0.0 (#1036)
Bumps [paambaati/codeclimate-action](https://github.com/paambaati/codeclimate-action) from 2.7.5 to 3.0.0.
- [Release notes](https://github.com/paambaati/codeclimate-action/releases)
- [Changelog](https://github.com/paambaati/codeclimate-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paambaati/codeclimate-action/compare/v2.7.5...v3.0.0)

---
updated-dependencies:
- dependency-name: paambaati/codeclimate-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 21:22:51 -04:00
Dan Yeaw
527dd02ebe
Merge pull request #1031 from gaphor/fix/locale
Fix localization in UI files
2021-09-30 18:14:32 -07:00
Dan Yeaw
921691f843
Merge pull request #1035 from weblate/weblate-gaphor-gaphor
Hungarian and Finnish translation updates
2021-09-30 18:07:54 -07:00
Arjan Molenaar
5031955d61 Translate UI file contents in Python
This way we do not have to deal with propagating the language settings to C level.r
XML is now loaded once and cached.
2021-09-30 21:23:24 +02:00
Arjan Molenaar
b797b1730d Update Dutch translation 2021-09-30 21:23:24 +02:00
Arjan Molenaar
74d3d08eb9 Provide type signature for gettext function 2021-09-30 21:23:23 +02:00
Arjan Molenaar
f2cc758c9a Add more translatable text 2021-09-30 21:23:23 +02:00
Jiri Grönroos
f521c8868e
Translated using Weblate (Finnish)
Currently translated at 68.5% (194 of 283 strings)

Translation: Gaphor/Gaphor
Translate-URL: https://hosted.weblate.org/projects/gaphor/gaphor/fi/
2021-09-30 21:15:29 +02:00
ovari
847b982ca3
Translated using Weblate (Hungarian)
Currently translated at 100.0% (283 of 283 strings)

Translation: Gaphor/Gaphor
Translate-URL: https://hosted.weblate.org/projects/gaphor/gaphor/hu/
2021-09-30 21:15:29 +02:00