-
-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add list of translation strings and fix several small bugs
- Loading branch information
Showing
8 changed files
with
296 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,4 @@ packages/ | |
Package.StoreAssociation.xml | ||
_pkginfo.txt | ||
images.zip | ||
messages.pot | ||
settings.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,8 @@ | |
import time | ||
from collections import OrderedDict | ||
|
||
exclude_patterns = [r'WinDynamicDesktop$', r'\w+://', r'label\d+$', r'\W+$'] | ||
app_name = "WinDynamicDesktop" | ||
exclude_patterns = [app_name + r'$', r'\w+://', r'label\d+$', r'\W+$'] | ||
pot_data = OrderedDict() | ||
|
||
|
||
|
@@ -54,14 +55,14 @@ def add_to_pot_data(msgid, filename, lineno): | |
"#", | ||
"msgid \"\"", | ||
"msgstr \"\"", | ||
"\"Project-Id-Version: PACKAGE VERSION\\n\"", | ||
"\"Project-Id-Version: {}\\n\"".format(app_name), | ||
"\"POT-Creation-Date: {}\\n\"".format(time.strftime("%Y-%m-%d %H:%M%z")), | ||
"\"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n\"", | ||
"\"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n\"", | ||
"\"Language-Team: LANGUAGE <[email protected]>\\n\"", | ||
"\"MIME-Version: 1.0\\n\"", | ||
"\"Content-Type: text/plain; charset=CHARSET\\n\"", | ||
"\"Content-Transfer-Encoding: ENCODING\\n\"" | ||
"\"Content-Type: text/plain; charset=UTF-8\\n\"", | ||
"\"Content-Transfer-Encoding: 8bit\\n\"" | ||
] | ||
|
||
for msgid, locs in pot_data.items(): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,273 @@ | ||
# SOME DESCRIPTIVE TITLE | ||
# Copyright (C) YEAR ORGANIZATION | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: WinDynamicDesktop\n" | ||
"POT-Creation-Date: 2019-03-05 09:10-0500\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: src\AboutDialog.cs:58 | ||
msgid "Thanks to:" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.cs:60 | ||
msgid "Apple for the Mojave wallpapers" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.cs:61 | ||
msgid "Contributors on GitHub" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.cs:62 | ||
msgid "LocationIQ for their free geocoding API" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.cs:63 | ||
msgid "Roundicons from flaticon.com for the icon (licensed by CC 3.0 BY)" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:67 | ||
msgid "Copyright © 2019 Timothy Johnson" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:76 | ||
msgid "Port of macOS Mojave Dynamic Desktop feature to Windows 10" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:97 src\ThemeDialog.Designer.cs:170 | ||
msgid "Close" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:108 | ||
msgid "Credits" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:119 | ||
msgid "Donate" | ||
msgstr "" | ||
|
||
#: src\AboutDialog.Designer.cs:154 | ||
msgid "About WinDynamicDesktop" | ||
msgstr "" | ||
|
||
#: src\AppContext.cs:67 | ||
msgid "Another instance of WinDynamicDesktop is already running. You can access it by clicking on the icon in the system tray." | ||
msgstr "" | ||
|
||
#: src\AppContext.cs:69 src\InputDialog.cs:115 src\InputDialog.cs:135 src\ThemeDialog.cs:248 src\ThemeManager.cs:145 src\ThemeManager.cs:252 src\ThemeManager.cs:298 src\UpdateChecker.cs:100 | ||
msgid "Error" | ||
msgstr "" | ||
|
||
#: src\AppContext.cs:111 | ||
msgid "The app is still running in the background. You can access it at any time by clicking on the icon in the system tray." | ||
msgstr "" | ||
|
||
#: src\InputDialog.cs:93 | ||
msgid "" | ||
"Is this location correct?\n" | ||
"\n" | ||
"{0}\n" | ||
"Sunrise: {1}, Sunset: {2}" | ||
msgstr "" | ||
|
||
#: src\InputDialog.cs:96 src\InputDialog.cs:154 src\ThemeDialog.cs:446 src\ThemeDialog.cs:474 src\ThemeManager.cs:96 | ||
msgid "Question" | ||
msgstr "" | ||
|
||
#: src\InputDialog.cs:112 | ||
msgid "The location you entered was invalid, or you are not connected to the Internet. Check your Internet connection and try a different location. You can use a complete address or just the name of your city/region." | ||
msgstr "" | ||
|
||
#: src\InputDialog.cs:134 | ||
msgid "Failed to get location from Windows location service." | ||
msgstr "" | ||
|
||
#: src\InputDialog.cs:151 | ||
msgid "WinDynamicDesktop cannot display wallpapers until you have entered a valid location, so that it can calculate sunrise and sunset times for your location. Are you sure you want to cancel and quit the program?" | ||
msgstr "" | ||
|
||
#: src\InputDialog.Designer.cs:45 | ||
msgid "Enter your location:" | ||
msgstr "" | ||
|
||
#: src\InputDialog.Designer.cs:62 | ||
msgid "OK" | ||
msgstr "" | ||
|
||
#: src\InputDialog.Designer.cs:73 | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#: src\InputDialog.Designer.cs:84 | ||
msgid "Use Windows location service" | ||
msgstr "" | ||
|
||
#: src\InputDialog.Designer.cs:105 | ||
msgid "Change Location" | ||
msgstr "" | ||
|
||
#: src\LocationManager.cs:40 | ||
msgid "Welcome! Please enter your location so the app can determine sunrise and sunset times." | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:33 | ||
msgid "&Select Theme..." | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:40 | ||
msgid "&Change Location..." | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:44 | ||
msgid "Enable &Dark Mode" | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:46 | ||
msgid "&Start on Boot" | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:48 | ||
msgid "More &Options" | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:53 | ||
msgid "&Refresh Wallpaper" | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:59 | ||
msgid "&Check for Updates" | ||
msgstr "" | ||
|
||
#: src\MainMenu.cs:62 | ||
msgid "E&xit" | ||
msgstr "" | ||
|
||
#: src\ProgressDialog.cs:48 | ||
msgid "Importing themes, please wait..." | ||
msgstr "" | ||
|
||
#: src\ProgressDialog.Designer.cs:42 | ||
msgid "Downloading images, please wait..." | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:129 | ||
msgid "Image Credits: {0}" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:134 | ||
msgid "Image Credits: Microsoft" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:202 | ||
msgid "Image {0} of {1}" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:247 | ||
msgid "Failed to download images for the '{0}' theme." | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:283 | ||
msgid "None" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:445 | ||
msgid "Are you sure you want to remove the '{0}' theme?" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.cs:472 | ||
msgid "WinDynamicDesktop cannot dynamically update your wallpaper until you have selected a theme. Are you sure you want to continue without a theme selected?" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:79 | ||
msgid "Preview" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:147 | ||
msgid "Enable Dark Mode" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:158 | ||
msgid "Apply" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:182 | ||
msgid "Get more themes online" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:191 | ||
msgid "Import from file..." | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:215 | ||
msgid "Remove" | ||
msgstr "" | ||
|
||
#: src\ThemeDialog.Designer.cs:249 | ||
msgid "Select Theme" | ||
msgstr "" | ||
|
||
#: src\ThemeManager.cs:95 | ||
msgid "The '{0}' theme is already installed. Do you want to overwrite it?" | ||
msgstr "" | ||
|
||
#: src\ThemeManager.cs:144 | ||
msgid "" | ||
"Failed to import theme from {0}\n" | ||
"\n" | ||
"{1}" | ||
msgstr "" | ||
|
||
#: src\ThemeManager.cs:250 | ||
msgid "The '{0}' theme could not be loaded and has been disabled. This is probably because it was created for an older version of the app or its config file is formatted incorrectly." | ||
msgstr "" | ||
|
||
#: src\ThemeManager.cs:296 | ||
msgid "Failed to download images. Click Retry to try again, Ignore to continue with some themes disabled, or Abort to exit the program." | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:53 | ||
msgid "Check for &updates automatically once a week" | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:99 | ||
msgid "WinDynamicDesktop could not connect to the Internet to check for updates." | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:104 | ||
msgid "" | ||
"There is a newer version of WinDynamicDesktop available. Do you want to download the update now?\n" | ||
"\n" | ||
"Current Version: {0}\n" | ||
"Latest Version: {1}" | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:107 src\UpdateChecker.cs:134 src\UpdateChecker.cs:174 | ||
msgid "Update Available" | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:116 | ||
msgid "You already have the latest version of WinDynamicDesktop installed." | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:117 | ||
msgid "Up To Date" | ||
msgstr "" | ||
|
||
#: src\UpdateChecker.cs:133 | ||
msgid "WinDynamicDesktop {0} is available. Click here to download it." | ||
msgstr "" | ||
|
||
#: src\UwpLocation.cs:44 | ||
msgid "WinDynamicDesktop needs location access for this feature. Click OK to open the Windows 10 location settings and grant location access to the app, then select the checkbox again." | ||
msgstr "" | ||
|
||
#: src\UwpLocation.cs:47 | ||
msgid "Location Access" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.