Skip to content

Commit 980847a

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 7d1625c + 12ab7b9 commit 980847a

File tree

4 files changed

+141
-135
lines changed

4 files changed

+141
-135
lines changed

core/Services/CalDAV/CalDAVClient.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ public class Services.CalDAV.CalDAVClient : Services.CalDAV.WebDAVClient {
574574
}
575575
576576
public async HttpResponse add_item (Objects.Item item, bool update = false) {
577-
var url = update ? item.ical_url : "%s/%s".printf (item.project.calendar_url, "%s.ics".printf (item.id));
577+
var url = update ? item.ical_url : GLib.Path.build_path ("/", item.project.calendar_url, "%s.ics".printf (item.id));
578578
var body = item.to_vtodo ();
579579
580580
var expected = update ? new Soup.Status[]{ Soup.Status.NO_CONTENT }
@@ -614,7 +614,7 @@ public class Services.CalDAV.CalDAVClient : Services.CalDAV.WebDAVClient {
614614
615615
616616
public async HttpResponse move_item (Objects.Item item, Objects.Project destination_project) {
617-
var destination = "%s/%s".printf (destination_project.calendar_url, "%s.ics".printf (item.id));
617+
var destination = GLib.Path.build_path ("/", destination_project.calendar_url, "%s.ics".printf (item.id));
618618
619619
var headers = new HashTable<string,string> (str_hash, str_equal);
620620
headers.insert ("Destination", destination);
@@ -683,4 +683,4 @@ public class Services.CalDAV.CalDAVClient : Services.CalDAV.WebDAVClient {
683683
684684
return resourcetype.get_elements_by_tag_name ("deleted-calendar").length > 0;
685685
}
686-
}
686+
}

data/translations_metrics.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"nl": {
33
"language": "Dutch",
44
"total_strings": 693,
5-
"translated_strings": 533,
6-
"translated_percent": 76.9
5+
"translated_strings": 550,
6+
"translated_percent": 79.3
77
},
88
"tr": {
99
"language": "Turkish",
@@ -158,8 +158,8 @@
158158
"cs": {
159159
"language": "Czech",
160160
"total_strings": 693,
161-
"translated_strings": 2,
162-
"translated_percent": 0.2
161+
"translated_strings": 8,
162+
"translated_percent": 1.1
163163
},
164164
"cv": {
165165
"language": "Chuvash",
@@ -260,8 +260,8 @@
260260
"it": {
261261
"language": "Italian",
262262
"total_strings": 693,
263-
"translated_strings": 79,
264-
"translated_percent": 11.3
263+
"translated_strings": 178,
264+
"translated_percent": 25.6
265265
},
266266
"ja": {
267267
"language": "Japanese",

0 commit comments

Comments
 (0)