Skip to content

Commit

Permalink
'#1987 internationalization of incomplete warning message.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdalla committed Jan 25, 2024
1 parent b57fcff commit 21fe684
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ TorrentFileDatParser.NumberOfFiles=Number of files
TorrentFileDatParser.NumberOfPieces=Number of pieces
TorrentFileDatParser.Piece=Piece
TorrentFileDatParser.PieceLength=Piece length
TorrentFileDatParser.IncompleteWarning=Incomplete file. Some of the parse information may be wrong. Please verify.
TelegramContact.ContactID=Contact ID:
TelegramContact.FirstName=First Name:
TelegramContact.LastName=Last Name:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ TorrentFileDatParser.NumberOfFiles=Number of files[TBT]
TorrentFileDatParser.NumberOfPieces=Number of pieces[TBT]
TorrentFileDatParser.Piece=Piece[TBT]
TorrentFileDatParser.PieceLength=Piece length[TBT]
TorrentFileDatParser.IncompleteWarning=Incomplete file. Some of the parse information may be wrong. Please verify.[TBT]
TelegramContact.ContactID=Kontakt ID:
TelegramContact.FirstName=Vorname:
TelegramContact.LastName=Nachname:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ TorrentFileDatParser.NumberOfFiles=Number of files[TBT]
TorrentFileDatParser.NumberOfPieces=Number of pieces[TBT]
TorrentFileDatParser.Piece=Piece[TBT]
TorrentFileDatParser.PieceLength=Piece length[TBT]
TorrentFileDatParser.IncompleteWarning=Incomplete file. Some of the parse information may be wrong. Please verify.[TBT]
TelegramContact.ContactID=Contact ID:
TelegramContact.FirstName=Nombre de la persona:
TelegramContact.LastName=Segundo Nombre:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ TorrentFileDatParser.NumberOfFiles=Number of files[TBT]
TorrentFileDatParser.NumberOfPieces=Number of pieces[TBT]
TorrentFileDatParser.Piece=Piece[TBT]
TorrentFileDatParser.PieceLength=Piece length[TBT]
TorrentFileDatParser.IncompleteWarning=Incomplete file. Some of the parse information may be wrong. Please verify.[TBT]
TelegramContact.ContactID=ID Contatto:
TelegramContact.FirstName=Nome:
TelegramContact.LastName=Cognome:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ TorrentFileDatParser.NumberOfFiles=Número de arquivos
TorrentFileDatParser.NumberOfPieces=Número de partes
TorrentFileDatParser.Piece=Parte
TorrentFileDatParser.PieceLength=Tamanho da partes
TorrentFileDatParser.IncompleteWarning=Arquivo incompleto. Algumas das informações podem estar incorretas. Por favor, verifique.
TelegramContact.ContactID=ID do Contato:
TelegramContact.FirstName=Nome:
TelegramContact.LastName=Sobrenome:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
xhtml.newline();
try {
if (dict.isIncomplete()) {
xhtml.characters("* Incomplete file. Some of the parse information may be wrong. Please verify.");
xhtml.characters("* " + Messages.getString("TorrentFileDatParser.IncompleteWarning"));
metadata.set("incompleteTorrent", "true");
}
xhtml.startElement("table", "class", "dt"); //$NON-NLS-1$ $NON-NLS-2$ $NON-NLS-3$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
xhtml.newline();

if (dict.isIncomplete()) {
xhtml.characters("* Incomplete file. Some of the parse information may be wrong. Please verify.");
xhtml.characters("* "
+ Messages.getString("TorrentFileDatParser.IncompleteWarning"));
metadata.set("incompleteTorrent", "true");
}

Expand Down

0 comments on commit 21fe684

Please sign in to comment.