When a tab is entered on a blank line between messages, jgettext generates this message:
Exception in thread "main" org.fedorahosted.tennera.jgettext.catalog.parse.UnexpectedTokenException: unrecognized entry directive [ ] [line=28]
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogLexer$Tokenizer.processEntry(CatalogLexer.java:352)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogLexer$Tokenizer.processLine(CatalogLexer.java:234)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogLexer$Tokenizer.readToken(CatalogLexer.java:156)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogLexer$Tokenizer.hasNext(CatalogLexer.java:140)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogLexer.nextToken(CatalogLexer.java:73)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogParser.entries(CatalogParser.java:609)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogParser.messageBlock(CatalogParser.java:442)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogParser.messageBlocks(CatalogParser.java:220)
at org.fedorahosted.tennera.jgettext.catalog.parse.CatalogParser.catalog(CatalogParser.java:157)
The parse will accept spaces but not tabs. Most po file utilities accept both
i.e. the Tab (\t in the following) generates the error:
When a tab is entered on a blank line between messages, jgettext generates this message:
The parse will accept spaces but not tabs. Most po file utilities accept both i.e. the Tab (\t in the following) generates the error:
Sample File: