LT-22314: Create new media line for interlinear display#720
LT-22314: Create new media line for interlinear display#720aror92 merged 2 commits intorelease/9.3from
Conversation
This comment has been minimized.
This comment has been minimized.
81c6b0a to
c6e8750
Compare
Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Handles bidi and display in multiple writing systems Displays a no media message instead of the audio play button/info if there is no media file. Co-Authored-By: mark-sil <[email protected]> Change-Id: I5f415967f76079bd16f9bd0f553abd6d9e122423
c6e8750 to
55b3c50
Compare
|
I don't think we need these trailing space resources do we? |
Change-Id: Ida9c4ce4b31b80d4a4fbde9dccfe99e130e2d042
jasonleenaylor
left a comment
There was a problem hiding this comment.
@jasonleenaylor reviewed 9 files and all commit messages, and made 2 comments.
Reviewable status: 9 of 12 files reviewed, all discussions resolved.
Src/LexText/Interlinear/InterlinVc.cs line 1280 at r3 (raw file):
AddTssDirForWs(vwenv, defUserWs); vwenv.AddString(m_tssDefaultSpace); vwenv.AddString(tssMediaLabel);
Could we do this by adding a single format string so we don't need resources that include and don't include spaces?
I'm not sure I understand the idea & scope you have in mind. I removed most of the new trailing space resources. The only remaining new one is ksMedia_; it's used in AddFreeformComment, since all labels there use the resource with space. But there are a lot of places throughout InterlinearVc where we could replace use of the resources that include spaces with a format string. A future refactor to implement that should allow us to remove more of the resources with space. |
* Create new media line for interlinear display Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Displays begin and end time offsets and speaker name for each audio clip. Handles bidi and display in multiple writing systems. Displays a no media message instead of the audio play button/info if there is no media file. --------- Co-authored-by: mark-sil <[email protected]> (cherry picked from commit cb8af5f)
* Create new media line for interlinear display Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Displays begin and end time offsets and speaker name for each audio clip. Handles bidi and display in multiple writing systems. Displays a no media message instead of the audio play button/info if there is no media file. --------- Co-authored-by: mark-sil <[email protected]> (cherry picked from commit cb8af5f) (cherry picked from commit e48e9a3)
* Create new media line for interlinear display Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Displays begin and end time offsets and speaker name for each audio clip. Handles bidi and display in multiple writing systems. Displays a no media message instead of the audio play button/info if there is no media file. --------- Co-authored-by: mark-sil <[email protected]> (cherry picked from commit cb8af5f) (cherry picked from commit e48e9a3)
* Create new media line for interlinear display Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Displays begin and end time offsets and speaker name for each audio clip. Handles bidi and display in multiple writing systems. Displays a no media message instead of the audio play button/info if there is no media file. --------- Co-authored-by: mark-sil <[email protected]> (cherry picked from commit cb8af5f) (cherry picked from commit e48e9a3)
* Create new media line for interlinear display Includes support for playing audio file segments This supports the following workflows: 1. Clicking the play button plays the segment. 2. Clicking the same play button, while the segment is still playing, will stop playing. 3. Clicking a different play button, while a segment is still playing, will stop playing the current segment and start playing the new one. 4. While the audio is playing the user can continue to work in the gui. If the user does something that disposes the InterlinDocForAnalysis, then the audio will stop. Displays begin and end time offsets and speaker name for each audio clip. Handles bidi and display in multiple writing systems. Displays a no media message instead of the audio play button/info if there is no media file. --------- Co-authored-by: mark-sil <[email protected]> (cherry picked from commit cb8af5f) (cherry picked from commit e48e9a3)
Summary
Includes support for playing audio file segments
This supports the following workflows:
Handles bidi and display of line in multiple writing systems
Displays a no media message instead of the audio play button/info if there is no media file.
CI-ready checklist
.github/commit-guidelines.md(subject ≤ 72 chars, no trailing punctuation; if body present, blank line then ≤ 80-char lines).This change is