Skip to content

Commit

Permalink
Update translate
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Mar 20, 2024
1 parent 728ec11 commit 6467f9f
Show file tree
Hide file tree
Showing 19 changed files with 3,787 additions and 3,639 deletions.
2 changes: 1 addition & 1 deletion core/Layouts/HeaderItem.vala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public class Layouts.HeaderItem : Adw.Bin {
listbox.margin_start = 3;
listbox.margin_end = 3;
} else {
listbox.css_classes = { };
listbox.css_classes = { };
listbox.margin_top = 0;
listbox.margin_bottom = 0;
listbox.margin_start = 0;
Expand Down
3 changes: 1 addition & 2 deletions core/Services/Todoist.vala
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public class Services.Todoist : GLib.Object {

var network_monitor = GLib.NetworkMonitor.get_default ();
network_monitor.network_changed.connect (() => {
if (GLib.NetworkMonitor.get_default ().network_available &&
is_logged_in () &&
if (GLib.NetworkMonitor.get_default ().network_available && is_logged_in () &&
Services.Settings.get_default ().settings.get_boolean ("todoist-sync-server")) {
sync_async ();
}
Expand Down
6 changes: 3 additions & 3 deletions core/Util/Util.vala
Original file line number Diff line number Diff line change
Expand Up @@ -899,17 +899,17 @@ public class Util : GLib.Object {
public Gtk.Image get_priority_icon (int priority) {
if (priority == Constants.PRIORITY_1) {
return new Gtk.Image.from_icon_name ("flag-outline-thick-symbolic") {
css_classes = { "priority-1-icon" },
css_classes = { "priority-1-icon" },
pixel_size = 19
};
} else if (priority == Constants.PRIORITY_2) {
return new Gtk.Image.from_icon_name ("flag-outline-thick-symbolic") {
css_classes = { "priority-1-icon" },
css_classes = { "priority-1-icon" },
pixel_size = 19
};
} else if (priority == Constants.PRIORITY_3) {
return new Gtk.Image.from_icon_name ("flag-outline-thick-symbolic") {
css_classes = { "priority-1-icon" },
css_classes = { "priority-1-icon" },
pixel_size = 19
};
} else if (priority == Constants.PRIORITY_4) {
Expand Down
2 changes: 1 addition & 1 deletion core/Widgets/PinButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public class Widgets.PinButton : Gtk.Button {
}

public void reset () {
pinned_image.css_classes = { };
pinned_image.css_classes = { };
}
}
4 changes: 2 additions & 2 deletions core/Widgets/PriorityButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class Widgets.PriorityButton : Adw.Bin {
} else if (item.priority == Constants.PRIORITY_3) {
priority_image.css_classes = { "priority-3-icon" };
} else {
priority_image.css_classes = { };
priority_image.css_classes = { };
}
}

Expand All @@ -95,7 +95,7 @@ public class Widgets.PriorityButton : Adw.Bin {
} else if (priority == Constants.PRIORITY_3) {
priority_image.css_classes = { "priority-3-icon" };
} else {
priority_image.css_classes = { };
priority_image.css_classes = { };
}
}

Expand Down
12 changes: 12 additions & 0 deletions data/io.github.alainm23.planify.appdata.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@
<url type="donation">https://www.patreon.com/alainm23</url>
<launchable type="desktop-id">@[email protected]</launchable>
<releases>
<release version="4.5.6" date="2024-03-20">
<description translatable="no">
<ul>
<li>A URL validation was added when syncing with Nextcloud.</li>
<li>The Pinboard view can now be selected as the homepage.</li>
<li>Fixed bug where the completion icon was not displayed.</li>
<li>Fixed bug that did not update tasks in the Pinboard view.</li>
<li>Fixed bug that displayed the incorrect date format in the Scheduled view.</li>
</ul>
</description>
</release>

<release version="4.5.4" date="2024-03-18">
<description translatable="no">
<ul>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'io.github.alainm23.planify',
'vala', 'c',
version: '4.5.4'
version: '4.5.6'
)

gnome = import('gnome')
Expand Down
1 change: 0 additions & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ core/Services/Todoist.vala

core/Layouts/HeaderItem.vala

core/Widgets/DynamicIcon.vala
core/Widgets/LoadingButton.vala
core/Widgets/Entries.vala
core/Widgets/IconColorProject.vala
Expand Down
Loading

0 comments on commit 6467f9f

Please sign in to comment.