Upstream Main - #1
Open
algospider wants to merge 279 commits into
Open
Conversation
Currently translated at 100.0% (640 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/pl/
Currently translated at 100.0% (640 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/id/
Currently translated at 100.0% (640 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
- Move `hasSettings` property from `ExtensionAPI` to `ExtensionManifest` and the `Extension` interface to allow checking for settings support without initializing the extension. - Rename `ExtensionAPI.SettingsUI()` to `ExtensionAPI.SettingsContent()`. - Update `ExtensionDetail` to check settings availability via the extension manifest and verify installation status before enabling settings navigation. - Relocate `getActions` utility calls to `FileActionProvider.getActions` therefore fixing broken build.
## Changes - Move `hasSettings` property from `ExtensionAPI` to `ExtensionManifest` and the `Extension` interface to allow checking for settings support without initializing the extension. - Rename `ExtensionAPI.SettingsUI()` to `ExtensionAPI.SettingsContent()`. - Update `ExtensionDetail` to check settings availability via the extension manifest and verify installation status before enabling settings navigation. - Relocate `getActions` utility calls to `FileActionProvider.getActions` therefore fixing broken build.
Currently translated at 100.0% (640 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/zh_Hans/
Currently translated at 96.5% (618 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/cs/
Currently translated at 100.0% (640 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/de/
* Update `errorDialog` and `dialog` functions in `Dialogs.kt` to accept `Context` instead of `Activity`. * Add activity state checks in `Dialogs.kt` when the provided context is an `Activity`. * Change `hostContext` to public visibility in `ExtensionContext`. * Change `id` to private visibility in `SharedPrefExtensionSettings`.
## Changes * Update `errorDialog` and `dialog` functions in `Dialogs.kt` to accept `Context` instead of `Activity`. * Add activity state checks in `Dialogs.kt` when the provided context is an `Activity`. * Change `hostContext` to public visibility in `ExtensionContext`. * Change `id` to private visibility in `SharedPrefExtensionSettings`.
Currently translated at 40.0% (256 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/ko/
- Rename `Icon.DrawableRes` to `Icon.ResourceIcon` and introduce `Icon.ExternalResourceIcon` for extension or external resource loading. - Update `BuiltinFileType`, `LspServer`, and all command classes to use the `Icon` sealed class instead of raw drawable resource IDs. - Enhance `AddDialogItem` and `XedIcon` components to handle both internal and external resources. - Centralize SVG loading logic into `Utils.kt` and add a `toDrawable()` helper to the `Icon` class. - Refactor `FileIcon.kt` to return `Icon` objects and improve icon resolution logic. - Convert `ExternalProcessServer` and `ExternalSocketServer` to data classes for improved equality checks and code clarity. - Update LSP settings and detail views to utilize the refactored icon system.
## Changes - Rename `Icon.DrawableRes` to `Icon.ResourceIcon` and introduce `Icon.ExternalResourceIcon` for extension or external resource loading. - Update `BuiltinFileType`, `LspServer`, and all command classes to use the `Icon` sealed class instead of raw drawable resource IDs. - Enhance `AddDialogItem` and `XedIcon` components to handle both internal and external resources. - Centralize SVG loading logic into `Utils.kt` and add a `toDrawable()` helper to the `Icon` class. - Refactor `FileIcon.kt` to return `Icon` objects and improve icon resolution logic. - Convert `ExternalProcessServer` and `ExternalSocketServer` to data classes for improved equality checks and code clarity. - Update LSP settings and detail views to utilize the refactored icon system.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Currently translated at 17.9% (115 of 640 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/he/
Currently translated at 99.8% (670 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
Currently translated at 100.0% (671 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/ru/
Currently translated at 95.8% (643 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/cs/
Currently translated at 100.0% (671 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/pl/
Currently translated at 99.7% (669 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/it/
Currently translated at 100.0% (671 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
Currently translated at 100.0% (671 of 671 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/zh_Hans/
Currently translated at 99.7% (670 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/it/
Currently translated at 100.0% (672 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/id/
Currently translated at 100.0% (672 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
Currently translated at 100.0% (672 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/pl/
Currently translated at 97.3% (654 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/cs/
Currently translated at 99.8% (671 of 672 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/it/
Currently translated at 100.0% (677 of 677 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
Currently translated at 100.0% (677 of 677 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/pl/
Currently translated at 100.0% (678 of 678 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/ru/
Currently translated at 100.0% (678 of 678 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/id/
Currently translated at 100.0% (678 of 678 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/fr/
Currently translated at 100.0% (678 of 678 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/tr/
Currently translated at 47.6% (323 of 678 strings) Translation: Xed Editor/Xed Editor Translate-URL: https://hosted.weblate.org/projects/xed-editor/xed-editor/ko/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.