diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 18:26:07 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 18:26:07 +0100 |
commit | 445dc18bf3e37044e17083fe76f76c17ceb6a0d7 (patch) | |
tree | 315f7cf2a7934b0ecf45ac2caa3c87949a90dfc4 /src/Photo.vala | |
parent | 918f560d56129ed03f19d843ea2efd7cb4b23821 (diff) | |
parent | 394326a81d1248bbc5b1a35a8ae623c65ef6a9ea (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/Photo.vala')
-rw-r--r-- | src/Photo.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Photo.vala b/src/Photo.vala index 34cfedf..f636a32 100644 --- a/src/Photo.vala +++ b/src/Photo.vala @@ -3808,6 +3808,7 @@ public abstract class Photo : PhotoSource, Dateable, Positionable { if (ext == null || !file_format.get_properties().is_recognized_extension(ext)) ext = file_format.get_properties().get_default_extension(); + // TRANSLATORS: "modified" here is part of a file name that was changed with another image tool outside of Shotwell. Note that there are potential issues with UTF-8 characters string editable_basename = "%s_%s.%s".printf(name, _("modified"), ext); bool collision; @@ -4837,7 +4838,7 @@ public class LibraryPhotoSourceCollection : MediaSourceCollection { assert(source_id.has_prefix(Photo.TYPENAME)); string numeric_only = source_id.substring(Photo.TYPENAME.length, -1); - return fetch_by_numeric_id(parse_int64(numeric_only, 16)); + return fetch_by_numeric_id(int64.parse(numeric_only, 16)); } public override Gee.Collection<string> get_event_source_ids(EventID event_id){ |