Project

General

Profile

« Previous | Next » 

Revision f41d2652

Added by Leszek Koltunski over 1 year ago

Pyraminx solver: error messages

View differences:

src/main/java/org/distorted/solvers/SolverPyraminx.java
211 211
    return ( twist1!=twist2 || twist1!=twist3 ) ? -1 : twist1;
212 212
    }
213 213

  
214
///////////////////////////////////////////////////////////////////////////////////////////////////
215

  
216
  private int computeEdgePermutation(int[] edge_permutation, int[][] edges)
217
    {
218

  
219
    }
220

  
214 221
///////////////////////////////////////////////////////////////////////////////////////////////////
215 222

  
216 223
  public SolverPyraminx(Resources res, TwistyObject object)
......
324 331
      if( vertex_twist[i]<0 ) return ERROR_VERTICES_CANNOT;
325 332
      }
326 333

  
334
    int[] edge_permutation = new int[6];
335
    int result5 = computeEdgePermutation(edge_permutation,edges);
336
    if( result5<0 ) return result5;
337

  
327 338
    return 0;
328 339
    }
329 340

  
src/main/res/values-de/strings.xml
89 89
    <string name="solver_generic_missing_edge">Die %1$s-%2$s Kante fehlt!</string>
90 90
    <string name="solver_generic_corners_cannot">Ecken können nicht verdreht werden, sodass alle Seiten einfarbig sind!</string>
91 91
    <string name="solver_generic_vertices_cannot">Oktaederstücke können nicht so verdreht werden, sodass alle Seiten einfarbig sind!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">Oktaederstücke und Tetraederecken passen nicht zusammen!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">Es gibt nur %1$d %2$s Facelets.</string>
95 95
    <string name="solver_cube3_error2">Nicht alle 12 Kanten gibt es genau einmal!</string>
src/main/res/values-es/strings.xml
89 89
    <string name="solver_generic_missing_edge">¡Falta la pieza del borde %1$s-%2$s!</string>
90 90
    <string name="solver_generic_corners_cannot">¡Las esquinas no se pueden torcer para que todos los lados sean monocromáticos!</string>
91 91
    <string name="solver_generic_vertices_cannot">¡Las piezas octaédricas no se pueden torcer para que todos los lados sean monocromáticos!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">¡Las piezas octaédricas y las esquinas tetraédricas no coinciden!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">Solo hay %1$d facetas %2$s.</string>
95 95
    <string name="solver_cube3_error2">¡No todos los 12 bordes existen exactamente una vez!</string>
src/main/res/values-fr/strings.xml
89 89
    <string name="solver_generic_missing_edge">La pièce de bordure %1$s-%2$s manque!</string>
90 90
    <string name="solver_generic_corners_cannot">Les coins ne peuvent pas être tordus afin que tous les côtés soient monochromes !</string>
91 91
    <string name="solver_generic_vertices_cannot">Les pièces octaédriques ne peuvent pas être tordues afin que tous les côtés soient monochromes !</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">Les pièces octaédriques et les coins tétraédriques ne correspondent pas !</string>
93 93

  
94 94
    <string name="solver_cube3_error1">Il n\'y a que %1$d facettes %2$s.</string>
95 95
    <string name="solver_cube3_error2">Les 12 arêtes n\'existent pas exactement une fois !</string>
src/main/res/values-ja/strings.xml
90 90
    <string name="solver_generic_missing_edge">%1$s%2$sボーダーピースはありません!</string>
91 91
    <string name="solver_generic_corners_cannot">すべての面がモノクロになるようにコーナーをねじることはできません。</string>
92 92
    <string name="solver_generic_vertices_cannot">すべての面が単色になるように、八面体のピースをねじることはできません。</string>
93
    <string name="solver_generic_c_v_dont_match"></string>
93
    <string name="solver_generic_c_v_dont_match">八面体のピースと四面体の角が一致しません!</string>
94 94

  
95 95
    <string name="solver_cube3_error1">%2$s小顔は%1$dつだけ</string>
96 96
    <string name="solver_cube3_error2">12 のエッジすべてが 存在するわけではありません。</string>
src/main/res/values-ko/strings.xml
89 89
    <string name="solver_generic_missing_edge">%1$s%2$s테두리 조각이 없습니다!</string>
90 90
    <string name="solver_generic_corners_cannot">모든면이 단색이되도록 모서리를 비틀 수 없습니다!</string>
91 91
    <string name="solver_generic_vertices_cannot">팔면체 조각은 뒤틀릴 수 없으므로 모든면이 단색입니다!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">팔면체 조각과 사면체 모서리가 일치하지 않습니다!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">%2$s작은 얼굴은  %1$d개뿐입니다.</string>
95 95
    <string name="solver_cube3_error2">12개의 가장자리 모두가 정확하게 한 번 존재하지 않습니다!</string>
src/main/res/values-pl/strings.xml
89 89
    <string name="solver_generic_missing_edge">Brakuje %1$s-%2$s krawędzi!</string>
90 90
    <string name="solver_generic_corners_cannot">Narożników nie można skręcić tak, aby wszystkie boki były monochromatyczne!</string>
91 91
    <string name="solver_generic_vertices_cannot">Części ośmiościennych nie można skręcić tak, aby wszystkie boki były monochromatyczne!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">Części ośmiościenne i czworościenne rogi nie pasują do siebie!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">Jest tylko %1$d %2$s ścian.</string>
95 95
    <string name="solver_cube3_error2">Któraś z 12 krawędzi nie istnieje!</string>
src/main/res/values-ru/strings.xml
89 89
    <string name="solver_generic_missing_edge">Нет %1$s-%2$s края!</string>
90 90
    <string name="solver_generic_corners_cannot">Углы нельзя скручивать так, чтобы все стороны были однотонными!</string>
91 91
    <string name="solver_generic_vertices_cannot">Восьмигранные фигуры нельзя скрутить так, чтобы все стороны были однотонными!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">Восьмигранные фигуры и четырехгранные углы не совпадают!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">Всего %1$d %2$s граней!</string>
95 95
    <string name="solver_cube3_error2">Не все 12 ребер существуют в единичном экземпляре!</string>
src/main/res/values-zh-rCN/strings.xml
95 95
    <string name="solver_generic_missing_edge">没有1$s-%2$s边!</string>
96 96
    <string name="solver_generic_corners_cannot">角不能扭曲,这样所有的面都是单色的!</string>
97 97
    <string name="solver_generic_vertices_cannot">八面体块不能扭曲,所以所有面都是单色的!</string>
98
    <string name="solver_generic_c_v_dont_match"></string>
98
    <string name="solver_generic_c_v_dont_match">八面体块和四面体角不匹配!</string>
99 99

  
100 100
    <string name="solver_cube3_error1">只有%1$d个%2$s小面</string>
101 101
    <string name="solver_cube3_error2">并非所有12条边都只存在一次!</string>
src/main/res/values-zh-rTW/strings.xml
89 89
    <string name="solver_generic_missing_edge">沒有1$s-%2$s邊!</string>
90 90
    <string name="solver_generic_corners_cannot">角不能扭曲,這樣所有的面都是單色的!</string>
91 91
    <string name="solver_generic_vertices_cannot">八面體塊不能扭曲,所以所有面都是單色的!</string>
92
    <string name="solver_generic_c_v_dont_match"></string>
92
    <string name="solver_generic_c_v_dont_match">八面體塊和四面體角不匹配!</string>
93 93

  
94 94
    <string name="solver_cube3_error1">只有%1$d個%2$s小臉</string>
95 95
    <string name="solver_cube3_error2">並非所有12條邊都只存在一次!</string>

Also available in: Unified diff