Revision 10dccf68
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/dialogs/RubikDialogCreators.java | ||
---|---|---|
27 | 27 |
{ |
28 | 28 |
private enum BandagedObjectDescription |
29 | 29 |
{ |
30 |
CUBOID ( org.distorted.objectlib.R.drawable.cu_232, R.string.creator_cuboid_title , R.string.creator_cuboid_desc ), |
|
31 |
PYRAMINX ( org.distorted.objectlib.R.drawable.pyra_3, R.string.creator_pyraminx_title, R.string.creator_pyraminx_desc ), |
|
32 |
MEGAMINX ( org.distorted.objectlib.R.drawable.mega_3, R.string.creator_megaminx_title, R.string.creator_megaminx_desc ), |
|
30 |
CUBOID ( org.distorted.objectlib.R.drawable.cu_232, R.string.creator_cuboid_title , R.string.creator_cuboid_desc ), |
|
31 |
PYRAMINX ( org.distorted.objectlib.R.drawable.pyra_3, R.string.creator_pyraminx_title, R.string.creator_pyraminx_desc ), |
|
32 |
MEGAMINX ( org.distorted.objectlib.R.drawable.mega_3, R.string.creator_megaminx_title, R.string.creator_megaminx_desc ), |
|
33 |
OCTAHEDRON ( org.distorted.objectlib.R.drawable.diam_2, R.string.creator_octahedron_title, R.string.creator_octahedron_desc ), |
|
33 | 34 |
; |
34 | 35 |
|
35 | 36 |
public static final int NUM_OBJECTS = values().length; |
... | ... | |
92 | 93 |
|
93 | 94 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
94 | 95 |
|
95 |
public int getResource() { return R.layout.dialog_scrollable_panes; } |
|
96 |
public int getTitleResource() { return R.string.creators; } |
|
97 |
public boolean hasArgument() { return false; } |
|
98 |
public int getPositive() { return R.string.ok; } |
|
99 |
public int getNegative() { return -1; } |
|
100 |
|
|
101 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
102 |
|
|
103 |
public void positiveAction() |
|
104 |
{ |
|
105 |
|
|
106 |
} |
|
107 |
|
|
108 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
109 |
|
|
110 |
public void negativeAction() |
|
111 |
{ |
|
112 |
|
|
113 |
} |
|
96 |
public int getResource() { return R.layout.dialog_scrollable_panes; } |
|
97 |
public int getTitleResource() { return R.string.creators; } |
|
98 |
public boolean hasArgument() { return false; } |
|
99 |
public int getPositive() { return R.string.ok; } |
|
100 |
public int getNegative() { return -1; } |
|
101 |
public void positiveAction() { } |
|
102 |
public void negativeAction() { } |
|
103 |
public static String getDialogTag() { return "DialogCreators"; } |
|
114 | 104 |
|
115 | 105 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
116 | 106 |
|
... | ... | |
145 | 135 |
layout.addView(pane.getView()); |
146 | 136 |
} |
147 | 137 |
} |
148 |
|
|
149 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
150 |
|
|
151 |
public static String getDialogTag() |
|
152 |
{ |
|
153 |
return "DialogCreators"; |
|
154 |
} |
|
155 | 138 |
} |
src/main/res/values-de/strings.xml | ||
---|---|---|
194 | 194 |
<string name="creator_cuboid_desc">Erstellen Sie einen beliebigen Bandaged Cuboid - bis zur Größe 7.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Erstellen Sie jede beliebige Bandaged Pyraminx - bis Größe 7.</string> |
196 | 196 |
<string name="creator_megaminx_desc">Erstellen Sie jede beliebige Bandaged Megaminx - bis Größe 5.</string> |
197 |
<string name="creator_octahedron_desc">Erstellen Sie jede beliebige Bandaged Diamond - bis Größe 4.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">Level %1$d</string> |
src/main/res/values-es/strings.xml | ||
---|---|---|
194 | 194 |
<string name="creator_cuboid_desc">Crea cualquier Bandaged Cuboid - hasta la talla 7.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Crea cualquier Bandaged Pyraminx - hasta la talla 7.</string> |
196 | 196 |
<string name="creator_megaminx_desc">Crea cualquier Bandaged Megaminx - hasta la talla 5.</string> |
197 |
<string name="creator_octahedron_desc">Crea cualquier Bandaged Diamond - hasta la talla 4.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">Nivel %1$d</string> |
src/main/res/values-fr/strings.xml | ||
---|---|---|
194 | 194 |
<string name="creator_cuboid_desc">Créez n\'importe quel Bandaged Cuboid - jusqu\'à la taille 7.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Créez n\'importe quel Bandaged Pyraminx - jusqu\'à la taille 7.</string> |
196 | 196 |
<string name="creator_megaminx_desc">Créez n\'importe quel Bandaged Megaminx - jusqu\'à la taille 5.</string> |
197 |
<string name="creator_octahedron_desc">Créez n\'importe quel Bandaged Diamond - jusqu\'à la taille 4.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">Niveau %1$d</string> |
src/main/res/values-ja/strings.xml | ||
---|---|---|
193 | 193 |
|
194 | 194 |
<string name="creator_cuboid_desc">Bandaged Cuboidを作成します (サイズ 7 まで)。</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Bandaged Pyraminxを作成します (サイズ 7 まで)。</string> |
196 |
<string name="creator_megaminx_desc">Bandaged Megaminxを作成します (サイズ 7 まで)。</string> |
|
196 |
<string name="creator_megaminx_desc">Bandaged Megaminxを作成します (サイズ 5 まで)。</string> |
|
197 |
<string name="creator_octahedron_desc">Bandaged Diamondを作成します (サイズ 4 まで)。</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">レベル %1$d</string> |
src/main/res/values-ko/strings.xml | ||
---|---|---|
193 | 193 |
|
194 | 194 |
<string name="creator_cuboid_desc">크기 7까지 Bandaged Cuboids를 만들 수 있습니다.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">크기 7까지 Bandaged Pyraminx를 만들 수 있습니다.</string> |
196 |
<string name="creator_megaminx_desc">크기 7까지 Bandaged Megaminx를 만들 수 있습니다.</string> |
|
196 |
<string name="creator_megaminx_desc">크기 5까지 Bandaged Megaminx를 만들 수 있습니다.</string> |
|
197 |
<string name="creator_octahedron_desc">크기 4까지 Bandaged Diamond를 만들 수 있습니다.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">레벨 %1$d</string> |
src/main/res/values-pl/strings.xml | ||
---|---|---|
194 | 194 |
<string name="creator_cuboid_desc">Stwórz dowolnego zabandażowanego kuboida - aż do rozmiaru 7.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Stwórz dowolnego zabandażowanego pyraminxa - aż do rozmiaru 7.</string> |
196 | 196 |
<string name="creator_megaminx_desc">Stwórz dowolnego zabandażowanego megaminxa - aż do rozmiaru 5.</string> |
197 |
<string name="creator_octahedron_desc">Stwórz dowolnego zabandażowanego diamonda - aż do rozmiaru 4.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d ms</string> |
199 | 200 |
<string name="lv_placeholder">Poziom %1$d</string> |
src/main/res/values-ru/strings.xml | ||
---|---|---|
193 | 193 |
|
194 | 194 |
<string name="creator_cuboid_desc">Создайте любой бандажный кубоид - до 7-го размера.</string> |
195 | 195 |
<string name="creator_pyraminx_desc">Создайте любую бандажную пирамиду - до 7-го размера.</string> |
196 |
<string name="creator_megaminx_desc">Создайте любую бандажную додекаэдры - до 7-го размера.</string> |
|
196 |
<string name="creator_megaminx_desc">Создайте любую бандажную додекаэдры - до 5-го размера.</string> |
|
197 |
<string name="creator_octahedron_desc">Создайте любую бандажную октаэдры - до 4-го размера.</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d мс</string> |
199 | 200 |
<string name="lv_placeholder">Уровень %1$d</string> |
src/main/res/values-zh-rCN/strings.xml | ||
---|---|---|
200 | 200 |
<string name="creator_cuboid_desc">创建任意 Bandaged Cuboid - 最大尺寸为 7。</string> |
201 | 201 |
<string name="creator_pyraminx_desc">创建任意 Bandaged Pyraminx - 最大尺寸为 7。</string> |
202 | 202 |
<string name="creator_megaminx_desc">创建任意 Bandaged Megaminx - 最大尺寸为 5。</string> |
203 |
<string name="creator_octahedron_desc">创建任意 Bandaged Diamond - 最大尺寸为 4。</string> |
|
203 | 204 |
|
204 | 205 |
<string name="ms_placeholder">%1$d毫秒</string> |
205 | 206 |
<string name="lv_placeholder">%1$d级</string> |
src/main/res/values-zh-rTW/strings.xml | ||
---|---|---|
193 | 193 |
|
194 | 194 |
<string name="creator_cuboid_desc">創建任意Bandaged Cuboid - 最大尺寸為 7。</string> |
195 | 195 |
<string name="creator_pyraminx_desc">創建任意Bandaged Pyraminx - 最大尺寸為 7。</string> |
196 |
<string name="creator_megaminx_desc">創建任意Bandaged Megaminx - 最大尺寸為 7。</string> |
|
196 |
<string name="creator_megaminx_desc">創建任意Bandaged Megaminx - 最大尺寸為 5。</string> |
|
197 |
<string name="creator_octahedron_desc">創建任意Bandaged Diamond - 最大尺寸為 4。</string> |
|
197 | 198 |
|
198 | 199 |
<string name="ms_placeholder">%1$d毫秒</string> |
199 | 200 |
<string name="lv_placeholder">%1$d級</string> |
src/main/res/values/strings.xml | ||
---|---|---|
228 | 228 |
<string name="creator_cuboid_title" translatable="false">Bandaged Cuboids</string> |
229 | 229 |
<string name="creator_pyraminx_title" translatable="false">Bandaged Pyraminxes</string> |
230 | 230 |
<string name="creator_megaminx_title" translatable="false">Bandaged Megaminxes</string> |
231 |
<string name="creator_octahedron_title" translatable="false">Bandaged Diamonds</string> |
|
231 | 232 |
|
232 | 233 |
<string name="creator_cuboid_desc">Create any bandaged cuboid - up to size 7.</string> |
233 | 234 |
<string name="creator_pyraminx_desc">Create any bandaged pyraminx - up to size 7.</string> |
234 | 235 |
<string name="creator_megaminx_desc">Create any bandaged megaminx - up to size 5.</string> |
236 |
<string name="creator_octahedron_desc">Create any bandaged diamond - up to size 4.</string> |
|
235 | 237 |
|
236 | 238 |
<string name="email_address" translatable="false">app.magic.cube@gmail.com</string> |
237 | 239 |
|
Also available in: Unified diff
New Creator of Bandaged Octahedrons