Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TFG
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yonrodr
TFG
Commits
5047c892
Commit
5047c892
authored
Jun 9, 2023
by
Yonatan
Browse files
Options
Downloads
Patches
Plain Diff
Fix transcripts
parent
2ccb8a16
No related branches found
No related tags found
1 merge request
!1
Final merge
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/es/yonatan/tfg/translator/TranslationResult.java
+2
-2
2 additions, 2 deletions
...ain/java/es/yonatan/tfg/translator/TranslationResult.java
with
2 additions
and
2 deletions
src/main/java/es/yonatan/tfg/translator/TranslationResult.java
+
2
−
2
View file @
5047c892
...
...
@@ -14,13 +14,13 @@ public record TranslationResult<T extends ITranslatable>(Collection<T> units, St
public
String
translatedTranscript
()
{
var
buffer
=
new
StringBuilder
();
units
.
forEach
(
unit
->
buffer
.
append
(
unit
.
getT
ext
()).
append
(
"\n"
));
units
.
forEach
(
unit
->
buffer
.
append
(
unit
.
getT
ranslation
()).
append
(
"\n"
));
return
buffer
.
toString
();
}
public
String
srcTranscript
()
{
var
buffer
=
new
StringBuilder
();
units
.
forEach
(
unit
->
buffer
.
append
(
unit
.
getT
ranslation
()).
append
(
"\n"
));
units
.
forEach
(
unit
->
buffer
.
append
(
unit
.
getT
ext
()).
append
(
"\n"
));
return
buffer
.
toString
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment