forked from Slimefun/Slimefun4
-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feature/cargo-simpl…
…e-opt
- Loading branch information
Showing
25 changed files
with
795 additions
and
177 deletions.
There are no files selected for viewing
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
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
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
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
25 changes: 25 additions & 0 deletions
25
...ain/java/io/github/thebusybiscuit/slimefun4/core/services/localization/TextDirection.java
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,25 @@ | ||
package io.github.thebusybiscuit.slimefun4.core.services.localization; | ||
|
||
/** | ||
* A simple enum to define the direction of text for a given {@link LanguagePreset} | ||
* | ||
* @author TheBusyBiscuit | ||
* | ||
*/ | ||
public enum TextDirection { | ||
|
||
/** | ||
* The text flows from left to right. | ||
* This is true for most western languages, | ||
* such as English, Spanish, German, French and more. | ||
*/ | ||
LEFT_TO_RIGHT, | ||
|
||
/** | ||
* The text flows from right to left. | ||
* Most common languages that use this direction | ||
* of text are Hebrew and Arabic. | ||
*/ | ||
RIGHT_TO_LEFT | ||
|
||
} |
Oops, something went wrong.