Child window will use current actived window (fall back to `MainWindow`) to calculate the startup location (likes `CenterScreen` mode). The benefits of doing this are:
- Solve the problem that newly opened windows always appear on the primary screen in multi-screen situations.
- Newly opened windows always display on the currently used screen. This reduces the need for users to move the mouse.
Signed-off-by: leo <longshuang@msn.cn>
- Calculating hunk area should use `VisualYPosition.LineTop/LineBottom` instead of `VisualYPosition.TextTop/TextBottom`
- Improve the visibility of floating buttons for Light theme
Signed-off-by: leo <longshuang@msn.cn>
* Adds required metadata files for flatpak publishing
* Add branding colors to sourcegit.metainfo.xml
* Update Exec command in sourcegit.desktop
* Delete release section from metainfo XML
* Removed release information for version 2026.02.
- When using `SourceGit` as standalone commit message editor, always quits with code `0`.
- Use hotkey `ESC` and dialog titlebar button instead of a custom `OK` button to close this window.
- All the attributes that can be changed from `Repository Configuration` window are `shared settings`, and will be shared (also synced) between worktrees
- The other UI states, such as current history filters, branch/tag sort methods, tree states etc., will be saved into each worktree's real git dir. And those states will not be synced between each others.
BREAKING CHANGE: Users will lost their old UI states. But the shared settings remains.
- Rename some resources about conflicts
- Rename `MergeConflictEditor.XXXDiffLines` to `MergeConflictEditor.XXXLines`
- It's not necessary to show commit info in tooltip for conflict revisions
- New UI/UX for merge conflict editor
Signed-off-by: leo <longshuang@msn.cn>
- Remove duplicated attributes in `Models.ConflictRegion`
- Add `ViewModels.MergeConflictEditor.Resolve(object resolution)` to replace `AcceptOurs/AcceptTheirs/AcceptBothMineFirst/AcceptBothTheirsFirst/Undo`
- Use command-binding instead of listening `Click` event for command buttons
- Remove `IsOldSide` and `IsResult` properties since `PanelType` is enough
- Rewrite the way to calculate current hovered conflict chunk
Signed-off-by: leo <longshuang@msn.cn>
* Use proper UTF-8 horizontal ellipsis char instead of triple dots
* Fix and improve various compound hyphenations
* Use proper en dash instead of minus char
* Replace straight quotes with typographic ones in non-technical friendly strings
* Reduce deviations from original texts (content and formatting)
* Remove indentations from multiline strings because they are visible in UI
* Fix typos and missing or superfluous punctuation marks
* Add missing translations and improve existing ones
* Further improve existing translations
* Improve keywords: translations for 'prune' and 'theirs' are now disambiguated and clearer
* Add new keys and translate their texts
* Mark German translation as complete and remove list of missing keys