Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move BukkitFcLocale and BukkitFcTranslatable into text package.
- Loading branch information
1 parent
7478318
commit 1e01822
Showing
21 changed files
with
38 additions
and
50 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
....1/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/item/BukkitFcItemType_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
....1/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/server/BukkitFcPlayer_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
...in/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcLegacyTextFactory_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...kkit/locale/BukkitFcLocale_1_13_00_R01.kt → ...bukkit/text/BukkitFcLocale_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...src/main/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcTextFactory_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...0-R0.1/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcText_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ocale/BukkitFcTranslatable_1_13_00_R01.kt → .../text/BukkitFcTranslatable_1_13_00_R01.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...-bukkit/bukkit/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/locale/BukkitFcLocale.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...t/bukkit/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/locale/BukkitFcTranslatable.kt
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ft-bukkit/bukkit/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcLocale.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package net.benwoodworth.fastcraft.bukkit.text | ||
|
||
import net.benwoodworth.fastcraft.platform.text.FcLocale | ||
|
||
interface BukkitFcLocale : FcLocale { | ||
|
||
val localeId: String | ||
} |
2 changes: 1 addition & 1 deletion
2
...raft-bukkit/bukkit/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcText.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...kit/bukkit/src/main/kotlin/net/benwoodworth/fastcraft/bukkit/text/BukkitFcTranslatable.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package net.benwoodworth.fastcraft.bukkit.text | ||
|
||
import net.benwoodworth.fastcraft.platform.text.FcLocale | ||
import net.benwoodworth.fastcraft.platform.text.FcTranslatable | ||
|
||
interface BukkitFcTranslatable : FcTranslatable { | ||
|
||
val key: String | ||
|
||
fun translate(locale: FcLocale): String? | ||
} |
2 changes: 1 addition & 1 deletion
2
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/item/FcItemType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/locale/FcLocale.kt
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/locale/FcTranslatable.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/server/FcPlayer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/text/FcLegacyTextFactory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/text/FcLocale.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package net.benwoodworth.fastcraft.platform.text | ||
|
||
interface FcLocale |
2 changes: 0 additions & 2 deletions
2
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/text/FcTextFactory.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
fastcraft/src/main/kotlin/net/benwoodworth/fastcraft/platform/text/FcTranslatable.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package net.benwoodworth.fastcraft.platform.text | ||
|
||
interface FcTranslatable |