This commit is contained in:
Igor Timofeev 2018-02-21 17:15:10 +03:00
parent c6a23e4722
commit 351be31aa9
5 changed files with 13 additions and 13 deletions

View File

@ -31,7 +31,7 @@ local userPath = appMarketPath .. "User.cfg"
local iconCachePath = appMarketPath .. "Cache/" local iconCachePath = appMarketPath .. "Cache/"
local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory() local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory()
local localization = MineOSCore.getLocalization(resourcesPath .. "Localization/") local localization = MineOSCore.getLocalization(resourcesPath .. "Localizations/")
local categories = { local categories = {
localization.categoryApplications, localization.categoryApplications,
@ -1132,7 +1132,7 @@ editPublication = function(initialPublication)
end end
pathType.switch.onStateChanged = function() pathType.switch.onStateChanged = function()
pathInput.placeholderText = pathType.switch.state and "Localization/English.lang" or "/MineOS/Localization/English.lang" pathInput.placeholderText = pathType.switch.state and "Localizations/English.lang" or "/MineOS/Localizations/English.lang"
end end
publicationNameInput.onInputFinished() publicationNameInput.onInputFinished()

View File

@ -15,7 +15,7 @@ local MineOSInterface = require("MineOSInterface")
local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory() local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory()
local modulesPath = resourcesPath .. "Modules/" local modulesPath = resourcesPath .. "Modules/"
local localization = MineOSCore.getLocalization(resourcesPath .. "Localization/") local localization = MineOSCore.getLocalization(resourcesPath .. "Localizations/")
local mainContainer, window = MineOSInterface.addWindow(MineOSInterface.tabbedWindow(1, 1, 80, 25)) local mainContainer, window = MineOSInterface.addWindow(MineOSInterface.tabbedWindow(1, 1, 80, 25))

View File

@ -120,7 +120,7 @@ local cursor = {
local scriptCoroutine local scriptCoroutine
local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory() local resourcesPath = MineOSCore.getCurrentApplicationResourcesDirectory()
local configPath = MineOSPaths.applicationData .. "MineCode IDE/Config.cfg" local configPath = MineOSPaths.applicationData .. "MineCode IDE/Config.cfg"
local localization = MineOSCore.getLocalization(resourcesPath .. "Localization/") local localization = MineOSCore.getLocalization(resourcesPath .. "Localizations/")
local findStartFrom local findStartFrom
local clipboard local clipboard
local breakpointLines local breakpointLines

View File

@ -13,7 +13,7 @@ local event = require("event")
---------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------
local applicationResourcesDirectory = MineOSCore.getCurrentApplicationResourcesDirectory() local applicationResourcesDirectory = MineOSCore.getCurrentApplicationResourcesDirectory()
local localization = MineOSCore.getLocalization(applicationResourcesDirectory .. "Localization/") local localization = MineOSCore.getLocalization(applicationResourcesDirectory .. "Localizations/")
local worldsPath = applicationResourcesDirectory .. "Worlds/" local worldsPath = applicationResourcesDirectory .. "Worlds/"
local rayWalkVersion = "RayWalk Tech Demo v3.5" local rayWalkVersion = "RayWalk Tech Demo v3.5"

View File

@ -232,11 +232,11 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic",
}, },
{ {
path="/MineOS/Applications/App Market.app/Resources/Localization/Russian.lang", path="/MineOS/Applications/App Market.app/Resources/Localizations/Russian.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Localization/Russian.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Localization/Russian.lang",
}, },
{ {
path="/MineOS/Applications/App Market.app/Resources/Localization/English.lang", path="/MineOS/Applications/App Market.app/Resources/Localizations/English.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Localization/English.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Localization/English.lang",
}, },
-- --
@ -250,11 +250,11 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic",
}, },
{ {
path="/MineOS/Applications/MineCode IDE.app/Resources/Localization/Russian.lang", path="/MineOS/Applications/MineCode IDE.app/Resources/Localizations/Russian.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Localization/Russian.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Localization/Russian.lang",
}, },
{ {
path="/MineOS/Applications/MineCode IDE.app/Resources/Localization/English.lang", path="/MineOS/Applications/MineCode IDE.app/Resources/Localizations/English.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Localization/English.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Localization/English.lang",
}, },
-- --
@ -268,11 +268,11 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Icon.pic", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Icon.pic",
}, },
{ {
path="/MineOS/Applications/Photoshop.app/Resources/Localization/Russian.lang", path="/MineOS/Applications/Photoshop.app/Resources/Localizations/Russian.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Localization/Russian.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Localization/Russian.lang",
}, },
{ {
path="/MineOS/Applications/Photoshop.app/Resources/Localization/English.lang", path="/MineOS/Applications/Photoshop.app/Resources/Localizations/English.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Localization/English.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Photoshop/Localization/English.lang",
}, },
-- --
@ -286,11 +286,11 @@
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Icon.pic", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Icon.pic",
}, },
{ {
path="/MineOS/Applications/Control.app/Resources/Localization/Russian.lang", path="/MineOS/Applications/Control.app/Resources/Localizations/Russian.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Localization/Russian.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Localization/Russian.lang",
}, },
{ {
path="/MineOS/Applications/Control.app/Resources/Localization/English.lang", path="/MineOS/Applications/Control.app/Resources/Localizations/English.lang",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Localization/English.lang", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Control/Localization/English.lang",
}, },
{ {