Remove copypasta
This commit is contained in:
parent
ed8b9973a9
commit
d62c288e4a
1 changed files with 1 additions and 4 deletions
|
@ -102,10 +102,7 @@ public class FileNameTranslationHelper {
|
|||
wikiVoyageName = formattedName;
|
||||
}
|
||||
String wikiVoyageWord = ctx.getString(R.string.shared_string_wikivoyage);
|
||||
int index = wikiVoyageWord.indexOf("(");
|
||||
if (index >= 0) {
|
||||
return ctx.getString(R.string.ltr_or_rtl_combine_via_space, wikiVoyageName, wikiVoyageWord.substring(0, index).trim());
|
||||
}
|
||||
|
||||
return ctx.getString(R.string.ltr_or_rtl_combine_via_space, wikiVoyageName, wikiVoyageWord);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue