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

Added Units + Lang Support for Chapter Interval Metadata Setting #6158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hudsonwg
Copy link

@hudsonwg hudsonwg commented Oct 3, 2024

Changes
Used translation script to add seconds text to all json str files. Called from metadataimages.html to show units

Issues
#5555
ex. Fixes # -->#5555

@hudsonwg hudsonwg requested a review from a team as a code owner October 3, 2024 05:04
Copy link

sonarcloud bot commented Oct 3, 2024

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 3a3b5aaabd7a747158a19b01c52720816a322571
Status ✅ Deployed!
Preview URL https://56bb0dfc.jellyfin-web.pages.dev
Type 🔀 Preview

<div class="fieldDescription">${LabelDummyChapterDurationHelp}</div>

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the blank line - don't make unrelated changes.

@@ -22,8 +22,9 @@ <h2 style="margin-top:0;">${HeaderPreferredMetadataLanguage}</h2>
<div class="verticalSection">
<h2>${HeaderDummyChapter}</h2>
<div class="inputContainer">
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration}" min="0"></input>
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration} ${LabelUnits}" min="0 seconds"></input>
Copy link
Contributor

Choose a reason for hiding this comment

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

LabelUnits is too generic. Maybe add unit to LabelDummyChapterDuration?

}
"HearingImpairedShort": "HI/SDH",
"LabelUnits": "(sekondes)"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Revert changes to languages other than en-us. Only Weblate should be used to work with other languages.

@@ -22,8 +22,9 @@ <h2 style="margin-top:0;">${HeaderPreferredMetadataLanguage}</h2>
<div class="verticalSection">
<h2>${HeaderDummyChapter}</h2>
<div class="inputContainer">
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration}" min="0"></input>
<input is="emby-input" type="number" id="valDummyChapterDuration" label="${LabelDummyChapterDuration} ${LabelUnits}" min="0 seconds"></input>
Copy link
Member

Choose a reason for hiding this comment

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

The value of the min attribute is invalid

@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Oct 3, 2024
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge conflict Conflicts prevent merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants