Skip to content

Commit

Permalink
update copyrights and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
neffo committed Mar 28, 2021
1 parent 4d6e3af commit 4679426
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 19 deletions.
20 changes: 17 additions & 3 deletions Settings.ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,25 @@ char *s = N_("Default is English - United States");
char *s = N_("Screen resolution:");
char *s = N_("Override automatic resolution selection");
char *s = N_("Settings");
char *s = N_("Use custom blur and brightness");
char *s = N_("Override GDM3 lockscreen effects");
char *s = N_("Blur can improve readability of login prompt");
char *s = N_("Background blur intensity");
char *s = N_("Can improve contrast of login prompt");
char *s = N_("Background brightness");
char *s = N_("Presets");
char *s = N_("Commonly used presets");
char *s = N_("No blur, slight dim");
char *s = N_("GNOME default");
char *s = N_("Slight blur, slight dim");
char *s = N_("Lock Screen");
char *s = N_("New wallpaper images everyday from Bing");
char *s = N_("Gnome shell extension version: ");
char *s = N_("Changes your wallpaper daily to the Bing picture of the day for your region. Displays the picture description and copyright information.");
char *s = N_("Maintained by Michael Carroll");
char *s = N_("https://github.com/neffo/bing-wallpaper-gnome-extension");
char *s = N_("Maintained by Michael Carroll");
char *s = N_("Show your support to the author on <a href=\"https://flattr.com/@neffo\">Flattr</a> or <a href=\"https://github.com/sponsors/neffo\">Github Sponsors</a>.");
char *s = N_("Changes since last version");
char *s = N_("Based on NASA APOD Gnome shell extension by Elia Argentieri");
char *s = N_("<span size=\"small\">This program comes with ABSOLUTELY NO WARRANTY.\n"
"See the <a href=\"https://www.gnu.org/licenses/old-licenses/gpl-2.0.html\">GNU General Public License, version 3 or later</a> for details.</span>");
"See the <a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GNU General Public License, version 3 or later</a> for details.</span>");
char *s = N_("About");
2 changes: 1 addition & 1 deletion buildzip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

glib-compile-schemas schemas/
intltool-extract --type=gettext/glade Settings.ui
xgettext -k -k_ -kN_ -o locale/BingWallpaper.pot Settings.ui.h extension.js prefs.js --from-code=UTF-8
xgettext -k -k_ -kN_ -o locale/BingWallpaper.pot Settings.ui.h extension.js prefs.js blur.js utils.js convenience.js --from-code=UTF-8

for D in locale/*; do
if [ -d "${D}" ]; then
Expand Down
5 changes: 4 additions & 1 deletion extension.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Bing Wallpaper GNOME extension
// Copyright (C) 2017-2020 Michael Carroll
// Copyright (C) 2017-2021 Michael Carroll
// This extension is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -192,6 +192,7 @@ const BingWallpaperIndicator = new Lang.Class({
}
else {
this.thumbnailItem = new PopupMenu.PopupMenuItem(_("Thumbnail disabled on Wayland"));
log('X11 not detected, disabling some unsafe features');
}
this.menu.addMenuItem(this.refreshItem);
this.menu.addMenuItem(this.refreshDueItem);
Expand Down Expand Up @@ -355,6 +356,8 @@ const BingWallpaperIndicator = new Lang.Class({
},

// set menu thumbnail
// "But really, what the extension is doing is a terrible terrible hack, and I'm quite surprised that it worked at all." - Florian Müllner, 2020
// FIXME: find another way
_setImage: function () {
let pixbuf = this.thumbnail.gtkImage.get_pixbuf();
const { width, height } = pixbuf;
Expand Down
93 changes: 81 additions & 12 deletions locale/BingWallpaper.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-03-28 19:31+1000\n"
"POT-Creation-Date: 2021-03-28 21:10+1000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -70,35 +70,92 @@ msgid "Settings"
msgstr ""

#: Settings.ui.h:14
msgid "Gnome shell extension version: "
msgid "Use custom blur and brightness"
msgstr ""

#: Settings.ui.h:15
msgid ""
"Changes your wallpaper daily to the Bing picture of the day for your region. "
"Displays the picture description and copyright information."
msgid "Override GDM3 lockscreen effects"
msgstr ""

#: Settings.ui.h:16
msgid "Maintained by Michael Carroll"
msgid "Blur can improve readability of login prompt"
msgstr ""

#: Settings.ui.h:17
msgid "https://github.com/neffo/bing-wallpaper-gnome-extension"
msgid "Background blur intensity"
msgstr ""

#: Settings.ui.h:18
msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri"
msgid "Can improve contrast of login prompt"
msgstr ""

#: Settings.ui.h:19
msgid "Background brightness"
msgstr ""

#: Settings.ui.h:20
msgid "Presets"
msgstr ""

#: Settings.ui.h:21
msgid "Commonly used presets"
msgstr ""

#: Settings.ui.h:22
msgid "No blur, slight dim"
msgstr ""

#: Settings.ui.h:23
msgid "GNOME default"
msgstr ""

#: Settings.ui.h:24
msgid "Slight blur, slight dim"
msgstr ""

#: Settings.ui.h:25
msgid "Lock Screen"
msgstr ""

#: Settings.ui.h:26
msgid "New wallpaper images everyday from Bing"
msgstr ""

#: Settings.ui.h:27
msgid "Gnome shell extension version: "
msgstr ""

#: Settings.ui.h:28
msgid "https://github.com/neffo/bing-wallpaper-gnome-extension"
msgstr ""

#: Settings.ui.h:29
msgid "Maintained by Michael Carroll"
msgstr ""

#: Settings.ui.h:30
msgid ""
"Show your support to the author on <a href=\"https://flattr.com/@neffo"
"\">Flattr</a> or <a href=\"https://github.com/sponsors/neffo\">Github "
"Sponsors</a>."
msgstr ""

#: Settings.ui.h:31
msgid "Changes since last version"
msgstr ""

#: Settings.ui.h:32
msgid "Based on NASA APOD Gnome shell extension by Elia Argentieri"
msgstr ""

#: Settings.ui.h:33
msgid ""
"<span size=\"small\">This program comes with ABSOLUTELY NO WARRANTY.\n"
"See the <a href=\"https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
"\">GNU General Public License, version 3 or later</a> for details.</span>"
"See the <a href=\"https://www.gnu.org/licenses/gpl-3.0.html\">GNU General "
"Public License, version 3 or later</a> for details.</span>"
msgstr ""

#: Settings.ui.h:21
#: Settings.ui.h:35
msgid "About"
msgstr ""

Expand Down Expand Up @@ -146,7 +203,7 @@ msgstr ""
msgid "Bing Wallpaper of the Day for"
msgstr ""

#: extension.js:433
#: extension.js:433 utils.js:135
msgid "Market not available in your region"
msgstr ""

Expand All @@ -157,3 +214,15 @@ msgstr ""
#: extension.js:482
msgid "No picture for today 😞."
msgstr ""

#: utils.js:124
msgid "Fetching data..."
msgstr ""

#: utils.js:139
msgid "A network error occured"
msgstr ""

#: utils.js:168
msgid "No change log found for this release"
msgstr ""
2 changes: 1 addition & 1 deletion prefs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Bing Wallpaper GNOME extension
// Copyright (C) 2017-2020 Michael Carroll
// Copyright (C) 2017-2021 Michael Carroll
// This extension is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Bing Wallpaper GNOME extension
// Copyright (C) 2017-2020 Michael Carroll
// Copyright (C) 2017-2021 Michael Carroll
// This extension is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down

0 comments on commit 4679426

Please sign in to comment.