mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 18:51:25 +02:00
Removes the tag from the autotranslation index to avoid translating the name itself.
This commit is contained in:
@@ -77,4 +77,13 @@ class TranslationsTest {
|
||||
"pt"
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testNostrEvents() {
|
||||
assertTranslateContains(
|
||||
"nostr:nevent1qqs0tsw8hjacs4fppgdg7f5yhgwwfkyua4xcs3re9wwkpkk2qeu6mhql22rcy",
|
||||
"sure, nostr:nevent1qqs0tsw8hjacs4fppgdg7f5yhgwwfkyua4xcs3re9wwkpkk2qeu6mhql22rcy",
|
||||
"en"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@@ -102,7 +102,7 @@ object LanguageTranslatorService {
|
||||
while (matcher.find()) {
|
||||
try {
|
||||
val tag = matcher.group()
|
||||
val short = "Amethysttagindexer$counter"
|
||||
val short = "Amethystmindexer$counter"
|
||||
returningList.put(short, tag)
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user