Commit 9862e22f authored by Daniel Dreibrodt's avatar Daniel Dreibrodt

Polish translation by Michał Trzebiatowski. Fixed i/o to linux user home directory.

parent 8c4f8e0c
......@@ -6,6 +6,7 @@ nl|Dutch|nl.txt
de|German|de.txt
fr|French (Incomplete)|fr.txt
ko|Korean|ko.txt
pl|Polish|pl.txt
pt-br|Portuguese (Brasil)|pt-br.txt
ru|Russian (Incomplete)|ru.txt
sk|Slovak|sk.txt
......
This diff is collapsed.
......@@ -76,7 +76,7 @@ public class Config {
if(!parent.exists()) parent.mkdirs();
configFile = new File(parent,"VLCSkinEditor.cfg");
} else {
File parent = new File("~/.vlc");
File parent = new File("/home/"+System.getProperty("user.name")+"/.vlc");
if(!parent.exists()) parent.mkdirs();
configFile = new File(parent,"VLCSkinEditor.cfg");
}
......@@ -291,4 +291,4 @@ public class Config {
mainInstance = m;
}
}
\ No newline at end of file
}
......@@ -684,7 +684,7 @@ public class Main extends JFrame implements ActionListener, TreeSelectionListene
}
}
else if(System.getProperty("os.name").indexOf("Linux")!=-1){
vlc_skins_dir = "~/.local/share/vlc/skins2/";
vlc_skins_dir = "/home/"+System.getProperty("user.name")+"/.local/share/vlc/skins2/";
}
if(base_fc==null) base_fc = new JFileChooser();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment