Skip to content

Commit

Permalink
dir: Uniformize two similar strings
Browse files Browse the repository at this point in the history
Related to issue #4746. Unnecessary end whitespaces were removed. Write "remote %s" instead of "remote '%s'".
  • Loading branch information
vgdaut authored and TingPing committed May 5, 2024
1 parent 363fffc commit 739065e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/flatpak-dir.c
Expand Up @@ -742,7 +742,7 @@ flatpak_remote_state_lookup_ref (FlatpakRemoteState *self,
if (!flatpak_remote_state_allow_ref (self, ref))
{
return flatpak_fail_error (error, FLATPAK_ERROR_REF_NOT_FOUND,
_("No entry for %s in remote '%s' summary flatpak cache "),
_("No entry for %s in remote %s summary flatpak cache"),
ref, self->remote_name);
}

Expand Down Expand Up @@ -879,7 +879,7 @@ flatpak_remote_state_lookup_cache (FlatpakRemoteState *self,
summary_v = get_summary_for_ref (self, ref);
if (summary_v == NULL)
return flatpak_fail_error (error, FLATPAK_ERROR_REF_NOT_FOUND,
_("No entry for %s in remote '%s' summary flatpak cache "),
_("No entry for %s in remote %s summary flatpak cache"),
ref, self->remote_name);


Expand Down Expand Up @@ -908,7 +908,7 @@ flatpak_remote_state_lookup_cache (FlatpakRemoteState *self,

if (!var_cache_lookup (cache, ref, &pos, &cache_data))
return flatpak_fail_error (error, FLATPAK_ERROR_REF_NOT_FOUND,
_("No entry for %s in remote '%s' summary flatpak cache "),
_("No entry for %s in remote %s summary flatpak cache"),
ref, self->remote_name);
}
else if (summary_version == 1)
Expand All @@ -920,7 +920,7 @@ flatpak_remote_state_lookup_cache (FlatpakRemoteState *self,

if (!flatpak_var_ref_map_lookup_ref (ref_map, ref, &info))
return flatpak_fail_error (error, FLATPAK_ERROR_REF_NOT_FOUND,
_("No entry for %s in remote '%s' summary cache "),
_("No entry for %s in remote %s summary flatpak cache"),
ref, self->remote_name);

commit_metadata = var_ref_info_get_metadata (info);
Expand Down

0 comments on commit 739065e

Please sign in to comment.