The default message providers still only returns one string, but it stores messages in a list.
change enum to store defaults as List
Updated MessageProvider to work with single line or lists of messages.
I'll let @main-- handle this PR since localization is his baby.
Added multi-line message getters
Added args for String.format()
Just want to make sure this doesn't get forgotten. @main-- thoughs?
We talked in IRC about this and I told @dumptruckman that I don't like the fact that String getMessage(MultiverseMessage) still exists. (In my opinion: Either only single strings or only string-lists). But there are some other nice additions in there. I'm going to merge parts of this PR tomorrow.
I squashed the commits a bit and pushed them to my fork. I think I'm going to cherry-pick main--/Multiverse-Core@1507b0d, improve it and push it.
Parts of this pull request were merged in 3e4b042.
But at the moment I don't think that I'm going to pull the multiline-feature. Lists make everything so complicated compared to single strings.
Just an FYI, the MVMessaging class supports lists. If that makes a difference, since everything should be moving in that direction.
Is this getting merged in a branch (/cc @main-- @dumptruckman )
Oh, I totally forgot about this pull request. I'm going to be away for some days, I'll handle it when I'm back.
Haha oh @md-5.
But seriously, where is the status of this?
Oh. My. God. Its FernFerret!
I believe @main-- is working on proper localization.
I'm doing multi-line messages with \n's right now. I haven't tested it but it should work (see CraftBukkit's TextWrapper).