5
166
Fork
You've already forked Gitte
16

Option to select the default repo location #150

Merged
ckruse merged 3 commits from fouquet/Gitte:default_repo_location into main 2026年06月22日 07:15:25 +02:00
Contributor
Copy link

I absolutely love your app, it quickly became my main Git client.

One thing I was missing was the ability to change the default repo location. I keep my repos in ~/Repos, and I accidentally kept cloning into ~. This PR adds an option to select the default.

I was unsure about the localization; I found that src/preferences/system.rs and src/start_screen/handlers.rs have gettext/ngettext strings but aren't in po/POTFILES.in, so those strings aren't being extracted. So I kept localization outside of the scope of this PR, let me know if I should change that.

I absolutely love your app, it quickly became my main Git client. One thing I was missing was the ability to change the default repo location. I keep my repos in ~/Repos, and I accidentally kept cloning into ~. This PR adds an option to select the default. I was unsure about the localization; I found that src/preferences/system.rs and src/start_screen/handlers.rs have gettext/ngettext strings but aren't in po/POTFILES.in, so those strings aren't being extracted. So I kept localization outside of the scope of this PR, let me know if I should change that.

Nice, thank you for your contribution! ❤️

I simply forgot to add these files. Can you please add gettext localization and just add the missing files to POTFILES.in?

I will have a closer look on Sunday evening / Monday morning since I am in vacation until Sunday afternoon

Nice, thank you for your contribution! ❤️ I simply forgot to add these files. Can you please add gettext localization and just add the missing files to POTFILES.in? I will have a closer look on Sunday evening / Monday morning since I am in vacation until Sunday afternoon
Author
Contributor
Copy link

@ckruse wrote in #150 (comment):

I simply forgot to add these files. Can you please add gettext localization and just add the missing files to POTFILES.in?

I've added the two missing files to POTFILES.in. My strings were already using gettext.

Have a nice vacation :)

@ckruse wrote in https://codeberg.org/ckruse/Gitte/pulls/150#issuecomment-17768210: > I simply forgot to add these files. Can you please add gettext localization and just add the missing files to POTFILES.in? I've added the two missing files to POTFILES.in. My strings were already using gettext. Have a nice vacation :)
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ckruse/Gitte!150
Reference in a new issue
ckruse/Gitte
No description provided.
Delete branch "fouquet/Gitte:default_repo_location"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?