Skip to content

Commit

Permalink
Change romaji conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyoo committed Aug 20, 2024
1 parent 65c76eb commit 6a04169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/main.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class MainComponent {

constructor(private route: ActivatedRoute) {
this.songs = this.route.snapshot.data['songs'].map((song: Song) => {
song.romajiTitle = tokenize(song.title).map((token: any) => toRomaji(token)).join(' ');
song.romajiTitle = tokenize(song.title).map((token: any) => toRomaji(token, {convertLongVowelMark: true})).join(' ');
if(!isRomaji(song.title)){
song.label = song.title + " [" + song.romajiTitle + "]"
}
Expand Down

0 comments on commit 6a04169

Please sign in to comment.