1 [[!meta title="Janský Petr"]]
5 **Domovská stránka projektu:** <http://yura.net/>
10 Vytvorit ceskou lokalizaci a proskoumani uzivatelskych rozhrani Java hry Risk
17 Me, Viliam Tomčányi, and my classmate Petr Janský made a localization for game
18 yura.net as our project for course in CTU (Czech Technical University). We
19 translated properties files which we found in your repository. In name of Peter
20 and me, I would like to ask you if you can accept these localization files, put
21 it in repository and send me acceptation mail.
22 We also would appreciate, if you would give us some ranking on Ohloh KudoRank
23 (www.ohloh.net), because we have some extra points for it.
24 Our logins are vtomcanyi and tape6
30 Trida pro zmenu charsetu z UTF-8 do ISO-8859-1 prilozena na konci
35 * [[Prezentace záměru práce ve formátu PDF nebo OpenDocument ("Attachment" k této stránce)|yura.pdf]]
36 * [[Prezentace výsledku práce|yura2.pdf]]
45 <a href='https://www.ohloh.net/accounts/tape6?ref=Detailed'>
46 <img alt='Ohloh profile for Linus.Torvalds' height='35' src='https://www.ohloh.net/accounts/tape6/widgets/account_detailed.gif' width='191' />
49 [w]:https://www.ohloh.net/accounts/tape6/widgets
55 Trida pro zmenu charsetu (nejde vlozit jako soubor)
59 package charsetchanger;
60 import java.io.BufferedReader;
61 import java.io.FileInputStream;
62 import java.io.FileNotFoundException;
63 import java.io.IOException;
64 import java.io.InputStreamReader;
65 import java.util.StringTokenizer;
66 public class CharsetChanger {
67 public static void main(String[] args) {
68 System.out.println("STARTED");
71 String source = fastRead();
73 for (int i = 0; i < chars.length; i++) {
74 source = source.replaceAll(chars[i][1], "\\"+chars[i][0]);
77 System.out.println(source);
85 public static String fastRead() {
86 FileInputStream fis = null;
88 fis = new FileInputStream("pico/DefaultCards_sk.properties");
89 }catch (FileNotFoundException e){
92 BufferedReader br = new BufferedReader(new InputStreamReader(fis));
99 st = new StringTokenizer(br.readLine());
100 // System.out.println(st);
101 String str = st.nextToken();
104 if (str.equals("///"))
109 while(st.hasMoreTokens()){
110 result += " "+st.nextToken();
113 } catch (IOException e) {
114 // TODO Auto-generated catch block
122 private static String[][] chars ={{"\\U00a1","¡"},