Skip to content

Localized hardcoded DBus connection error#63

Closed
google-labs-jules[bot] wants to merge 1 commit intomainfrom
localize-dbus-error-9046609356960233563
Closed

Localized hardcoded DBus connection error#63
google-labs-jules[bot] wants to merge 1 commit intomainfrom
localize-dbus-error-9046609356960233563

Conversation

@google-labs-jules
Copy link
Contributor

Localized hardcoded DBus connection error.

  • Added error-connect-dbus key to i18n/en/cosmic_ext_fprint.ftl.
  • Added ConnectDbus(String) variant to AppError.
  • Updated AppError::localized_message to handle the new variant.
  • Updated src/app/mod.rs to use AppError::ConnectDbus instead of AppError::Unknown for connection errors.
  • Added unit test test_app_error_localization to verify the localization of the new error.
  • Updated Cargo.lock to sync with Cargo.toml.

PR created automatically by Jules for task 9046609356960233563 started by @jotuel

Replaced hardcoded "Failed to connect to DBus: {}" string with a localized message.
Added ConnectDbus variant to AppError and updated localized_message to use fl!("error-connect-dbus", err = msg).
Added unit test to verify localization.
Updated Cargo.lock to match Cargo.toml version.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@jotuel jotuel closed this Feb 18, 2026
@jotuel jotuel deleted the localize-dbus-error-9046609356960233563 branch February 18, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant