Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation Updates #46

Open
Zren opened this issue Oct 14, 2018 · 16 comments
Open

Translation Updates #46

Zren opened this issue Oct 14, 2018 · 16 comments
Labels
help wanted Extra attention is needed

Comments

@Zren
Copy link
Owner

Zren commented Oct 14, 2018

Subscribe to this issues to receive updates of new phrases to translate.

https://github.com/Zren/plasma-applet-eventcalendar/commits/master/package/translate/template.pot

@Zren Zren added the help wanted Extra attention is needed label Oct 14, 2018
@Zren
Copy link
Owner Author

Zren commented Oct 14, 2018

ff29932#diff-ba542b403c242b55ccd34ed227f3def0

Added Keys:
"Event description"
"Google Hangouts link"
"Hangout"

@Zren
Copy link
Owner Author

Zren commented May 16, 2019

819df1d

Added Keys:
"Edit title"
"Event Description"
"Event Title"

Removed Keys:
"Event Summary"

@Zren Zren mentioned this issue Jul 22, 2019
@Zren
Copy link
Owner Author

Zren commented Jul 22, 2019

I will probably be adding a few more error messages related to calendar events as well.

5001637

Added Keys:
"Error fetching weather."
"Weather API limit reached, will try again soon."

@Zren Zren pinned this issue Aug 17, 2019
@Zren
Copy link
Owner Author

Zren commented Oct 6, 2019

2884b15

Changed Keys:
"Save" => "&Save"
"Start" => "&Start"
"Cancel" => "&Cancel"

Added Keys:
"Add description"
"Add location"
"Copy Link"
"event editor date format" "d MMM, yyyy"
"Edit"

Removed Keys:
"Discard"
"Edit date/time"

@Zren
Copy link
Owner Author

Zren commented Dec 23, 2019

b2a73f9

Changed Keys:
"1h" => "%1h"
"1m", "5m", "10m", "15m", "20m", "30m", "45m" => "%1m"
"30s" => "%1s"

Removed Keys:
"Edit description"
"Edit title"
"Event Description"

Please note that I extrapolated the new messages from the old ones so there's nothing to translate.
824a970

@Zren
Copy link
Owner Author

Zren commented Jun 22, 2020

e127a0f

Added Keys:
"Day Spacing:"
"Event Spacing:"
"Hide 'All Day' text"

@Zren Zren unpinned this issue Jul 2, 2020
@Zren Zren pinned this issue Jul 2, 2020
@Zren
Copy link
Owner Author

Zren commented Jul 25, 2020

v69 dev had a fair share of new messages.

a719a4e

Added Keys:
"Agenda below the Calendar (Single Column)"
"Calendar to the left of the Agenda (Two Columns)"
"Highlight Current Day / Week"
"Layout"
"Time Format Documentation"

Removed Keys:
"Agenda above the month (Single Column)"
"Agenda to the left (Two Columns)"

a708b6a

Added Keys:
"All files (%1)"
"Sound files (%1)"

Removed Keys:
"Choose"

Note: 1 of the 2 "Default" messages was given the context "Use default font". I manually copied the previous "Default" translation that also covered the "first day of week" use case to the default font translation.

16eb4ab

Added Keys:
"Could not connect (HTTP Error 0), will try again soon."
"Plasmoid for a calendar+agenda with weather that syncs to Google Calendar."
"Tasks"

da, el, fr, ja, ru, tr, uk now have the widget name translated in the "Add Widgets" view. Though I just realized pt lost it's translation in metadata.desktop as we only have pt_BR.po.

@Zren
Copy link
Owner Author

Zren commented Oct 12, 2020

7d79074

Added Keys:
"Add due date"

6afe2a0

Added Keys:
"Debugging will log sensitive information to:"
"Enable Debugging"

Removed Keys:
"Enable Debugging\nThis will log sensitive information to ~/.xsession-errors"

I copied most translations to the new messages, however a few had
words after the ~/.xession-errors "word" so I didn't fix ja, tr, zh.

@Zren
Copy link
Owner Author

Zren commented Nov 13, 2020

I released v71 without notifying everyone as I needed to fix GoogleCalendar sync asap. I plan to ship a v72 with updated translations + any bugfixes for v71 since it refactored a fair bit of code.

Added:
"New Google Calendar Event (Web Browser)"
"Do Nothing"

Changed:
"DoubleClick Date:" => "Double-click on Date:"

Changed:
"min" no longer uses i18np() and assumes singular == plural since it's basically a short form of "minutes". No existed locales seem to have a difference which is why I made this decision.

Also fixed the singular of "hours" to "hour".

Added Keys:
"Could not connect"
"Current Month Title:"
"HTTP Error %1: %2"
"Logged out of Google. Please login again."
"Too many web requests. Will try again soon."
"Weather API limit reached"
"Widget has been updated. Please logout and login to Google Calendar again."
"Will try again soon."

Removed Keys:
"Could not connect (HTTP Error 0), will try again soon."
"Weather API limit reached, will try again soon."

Changed:
Fixed a typo "... acess ..." => "... access ...".

@Zren
Copy link
Owner Author

Zren commented Mar 15, 2021

The Event Reminder added a few new keys. I reused the compact %1h %1m and %1s messages from the timer labels for the "Starting in" notification.

40736c6

Added Keys:
"Event Reminder"
"Starting in %1"

@ghost
Copy link

ghost commented Apr 4, 2022

Started translating into Hebrew.

P.S. What does "Show next" (string #‎75) mean?

@Zren
Copy link
Owner Author

Zren commented Apr 4, 2022

#: ../contents/ui/config/ConfigWeather.qml
msgid "Show next "

#: ../contents/ui/config/ConfigWeather.qml
msgid " in the meteogram."

It's the "Show next " [x hours] " in the meteogram" spinbox in the Weather config tab.

@ghost
Copy link

ghost commented Apr 4, 2022

#: ../contents/ui/config/ConfigWeather.qml
msgid "Show next "

#: ../contents/ui/config/ConfigWeather.qml
msgid " in the meteogram."

It's the "Show next " [x hours] " in the meteogram" spinbox in the Weather config tab.

If so, there is a syntactic problem. In Hebrew and other Semitic languages, we say the adjective after the noun.

@Zren
Copy link
Owner Author

Zren commented Apr 4, 2022

I should probably refactor it to be like this, but for now just treat both messages as one.

RowLayout {
	readonly property string message: i18n("Show next %1 in the meteogram")
	Text {
		id: prefix
		text: parent.message.split("%1")[0]
	}
	SpinBox {}
	Text {
		id: suffix
		text: parent.message.split("%1")[1]
	}
}

@ghost
Copy link

ghost commented Apr 4, 2022

Thank you. Now opened PR #305

Repository owner locked and limited conversation to collaborators Apr 4, 2022
@Zren
Copy link
Owner Author

Zren commented Apr 4, 2022

8af356f

Added Keys:
"Event Click:"
"Hide "This event was added from Goals in Google Calendar" description"
"Open Web Event View"
"Open Web Month View"
"Options"

45d9736

I've also parsed and reused all the translations in /usr/share/locale/kf5/ (OpenSUSE only path?) by using this work in progress script to create "compendiums" that xgettext can lookup.

"Edit"
"Options"
"Id"
"Timer"
"Data"
"Left"
"Right"
"First day of week:"
"&Cancel"
"to"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant