summaryrefslogtreecommitdiff
path: root/src/Photo.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-24 08:37:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-24 08:37:53 +0100
commit1bf62485f701b52ae27433e3570ac24cd7da886f (patch)
tree0f7be6ad3efd0c75fdad81d8bef5513d477f8d11 /src/Photo.vala
parent008bc99860fd353a5da5d06e6be5937f4a358aed (diff)
parenta7f185a9852392d1d6290771db6289c97c401a36 (diff)
Merge branch 'release/debian/0.32.3-1'debian/0.32.3-1
Diffstat (limited to 'src/Photo.vala')
-rw-r--r--src/Photo.vala3
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){