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

Translate German Comments #440

Merged
merged 5 commits into from
May 11, 2023
Merged

Translate German Comments #440

merged 5 commits into from
May 11, 2023

Conversation

andreasma
Copy link
Contributor

No description provided.

Signed-off-by: andreasma <maand@gmx.de>
Signed-off-by: andreasma <maand@gmx.de>
Signed-off-by: andreasma <maand@gmx.de>
Copy link
Contributor

@thorstenb thorstenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the comment translations!

Almost there, see inline comments.

@@ -23,15 +23,15 @@
package de.muenchen.allg.itd51.wollmux.former;

/**
* Interface für Nachrichten auf dem globalen Broadcast-Kanal. Siehe auch
* Interface for messages on the global broadcast channel. See also
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm - a literal translation is not ideal here (as this is an interface description).

Its an implementation of https://en.wikipedia.org/wiki/Publish-subscribe_pattern - so perhaps add a link in the line below, and tweak the mission statement to 'Interface for sending a message on the global pubsub channel' (or somesuch)?

* {@link de.muenchen.allg.itd51.wollmux.former.BroadcastListener}.
*
* @author Matthias Benkmann (D-III-ITD 5.1)
*/
public interface Broadcast
{
/**
* Sendet diese Broadcast-Nachricht an listener.
* Send this broadcast message to listener.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also mention 'global' here?

@@ -23,8 +23,8 @@
package de.muenchen.allg.itd51.wollmux.former;

/**
* Nachricht, dass in einer View ein Object ausgewählt wurde. Diese Nachricht wird
* von anderen Views ausgewertet, um ihre Selektionen ebenfalls anzupassen.
* Message that an object was selected in a view. This message will be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit bumpy - how about: ..message for notifying object selection in a View.. (please upper-case View, it's a noun & used as classname elsewhere)

*/
private int state;

/**
* true =&gt; Selektion erst ganz löschen vor an/abwählen des Objektes.
* true =&gt; Selektion delete complete first bevor selecting/deselecting the object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..delete fully, before.. ?

* @param clearSelection
* true =&gt; Selektion erst ganz löschen vor an/abwählen von myObject.
* true =&gt; Selektion delete complete first bevor selecting/deselecting of myObject.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@@ -74,15 +74,15 @@ public int getState()
}

/**
* true =&gt; Selektion erst ganz löschen vor an/abwählen des Objekts.
* true =&gt; Selektion delete complete first bevor selecting/deselecting the object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

* wird, der den ComboBox-Wert beschreibt, den auszuwählen dem Aktivieren der alten
* Checkbox entspricht.
* A {@link Map}, which keys are the {@link IdModel}s of the checkboxes,
* which have been merged, in which every of these IDs were mapped on a string,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

every one of these

* Checkbox entspricht.
* A {@link Map}, which keys are the {@link IdModel}s of the checkboxes,
* which have been merged, in which every of these IDs were mapped on a string,
* which describes the combobox value. The choose one of them matches the activation of the old
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's completely mangled. "Selecting one of those strings corresponds to activating the respective, previous checkbox"

Signed-off-by: andreasma <maand@gmx.de>
@andreasma
Copy link
Contributor Author

I checked your comments and amended the translations according to your hints.

Copy link
Contributor

@thorstenb thorstenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small remark (and perhaps a bit of extra spellchecking here or there would be great, but not required)

@@ -74,7 +74,7 @@ public int getState()
}

/**
* true =&gt; Selektion delete complete first bevor selecting/deselecting the object.
* true =&gt; Selektion delete fully bevor selecting/deselecting the object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I guess Selektion needs translation too, as well as bevor (and swapping verb and object is more idiomatic English, i.e. 'Delete selection fully, before ...)

Signed-off-by: andreasma <maand@gmx.de>
@andreasma
Copy link
Contributor Author

Thanks for your hints. I fixed the last bits.

Copy link
Contributor

@thorstenb thorstenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the translations!

@thorstenb thorstenb merged commit 9107684 into LibreOffice:main May 11, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants