Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Add turkish, thanks to @xAliTura01
Browse files Browse the repository at this point in the history
  • Loading branch information
ShockedPlot7560 committed Oct 2, 2021
1 parent fa837af commit c146da9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: FactionMasterInvitationImprove
author: ShockedPlot7560
version: 1.2.0
version: 1.2.1
api: 3.17.7
main: ShockedPlot7560\FactionMasterInvitationImprove\FactionMasterInvitationImprove
depend: ["FactionMaster"]
Expand Down
10 changes: 10 additions & 0 deletions resources/tr_TR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# DO NOT EDIT THIS LINE
file-version: 1
# DO NOT EDIT THIS LINE

SELECT_PLAYER_PANEL_TITLE: "Lütfen bir oyuncu seçin"
SELECT_PLAYER_PANEL_CONTENT: "Açılır listeden seçin"
SELECT_PLAYER_PANEL_ERROR: " §c>> §4Böyle bir oyuncu adı için eşleşme bulunamadı: {{needle}}"
SELECT_FACTION_PANEL_TITLE: "Lütfen klanı seçin"
SELECT_FACTION_PANEL_CONTENT: "Açılır listeden seçin"
SELECT_FACTION_PANEL_ERROR: " §c>> §4Ad için eşleşme bulunamadı: {{needle}}"
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ public function onLoad(): void{
$this->saveDefaultConfig();
$this->saveResource('fr_FR.yml');
$this->saveResource('en_EN.yml');
$this->saveResource('tr_TR.yml');
$this->saveResource('config.yml');
ConfigUpdater::checkUpdate($this, $this->getConfig(), "file-version", 1);
ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "fr_FR.yml", Config::YAML), "file-version", 1);
ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "en_EN.yml", Config::YAML), "file-version", 1);
ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "tr_TR.yml", Config::YAML), "file-version", 1);
$this->LangConfig = [
"fr_FR" => new Config($this->getDataFolder() . "fr_FR.yml", Config::YAML),
"tr_TR" => new Config($this->getDataFolder() . "tr_TR.yml", Config::YAML),
"en_EN" => new Config($this->getDataFolder() . "en_EN.yml", Config::YAML)
];
}
Expand Down

0 comments on commit c146da9

Please sign in to comment.