Commits

Anonymous committed a5dab11 Draft

Fixed GH translation bug

Comments (0)

Files changed (2)

src/nyagua/Bundle_sk_SK.properties

 FISHBASE=Zoznam r\u00fdb
 FISHES=Ryby
 FISHES_=Ryby
-GH=GH
+GH=dGH
 GREEN=Zelen\u00fd
 GRID=Mrie\u017eka
 GRID_SPACING=Ve\u013ekos\u0165 mrie\u017eky

src/nyagua/Report.java

         DB.closeConn();
         if (count>0){//NOI18N            
              String [] hdr=Reading.CAPTIONS;
+             String [] flds= {"id", "Date", "Time", "NO2", "NO3", "GH", "KH", "PH", "temp", // NOI18N
+                "FE", "NH", "CO2", "Cond", "CA", "MG", "CU","PO4","O2","dens"};// NOI18N
              for (int y=3; y<(hdr.length); y++){
                  infos=infos+ "<tr><td style='padding 0 10'> "+ hdr[y] + ":</td>"// NOI18N
-                         +"<td style='padding 0 10'> "  // NOI18N
-                         //+  LocUtil.localizeDouble(rs.getString(y+1))
-                         + LocUtil.localizeDouble(getMedia(hdr[y]))
-                         + "</td></tr>";// NOI18N
+                         +"<td style='padding 0 10'> "  // NOI18N                         
+                         + LocUtil.localizeDouble(getMedia(flds[y]))
+                         + "</td></tr>";// NOI18N             
              }                        
              //DB.closeConn();
              infos=infos+"</table></p></br>";//NOI18N