Handle dictionaries in the same way in localize
By now, not needed to handle dictionaries in other way, because its root moves up directly to core. Change-Id: I90d6a67c90b00eea290f17e277fb13c0a6b0b5cd
This commit is contained in:
parent
3777191e95
commit
f6147cbe1c
1 changed files with 4 additions and 9 deletions
|
@ -267,15 +267,10 @@ void handleCommand(
|
|||
{
|
||||
const sal_Int32 nProjectInd = inPath.indexOf(project);
|
||||
const OString relativPath =
|
||||
project == OUString("dictionaries") ?
|
||||
OUStringToOString(
|
||||
inPath.copy( nProjectInd + 13,
|
||||
inPath.lastIndexOf('/')- nProjectInd - 13),
|
||||
RTL_TEXTENCODING_UTF8 ) :
|
||||
OUStringToOString(
|
||||
inPath.copy( nProjectInd,
|
||||
inPath.lastIndexOf('/')- nProjectInd),
|
||||
RTL_TEXTENCODING_UTF8 );
|
||||
OUStringToOString(
|
||||
inPath.copy( nProjectInd,
|
||||
inPath.lastIndexOf('/')- nProjectInd),
|
||||
RTL_TEXTENCODING_UTF8 );
|
||||
|
||||
rPoOutPut.writeHeader(PoHeader(relativPath));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue