Changeset 6831 for extensions/jiwigo
- Timestamp:
- Sep 1, 2010, 6:48:53 PM (14 years ago)
- Location:
- extensions/jiwigo/trunk
- Files:
-
- 3 added
- 1 deleted
- 10 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/pom.xml
r6821 r6831 35 35 <version>1.2.16</version> 36 36 </dependency> 37 <dependency> 38 <groupId>org.apache.sanselan</groupId> 39 <artifactId>sanselan</artifactId> 40 <version>0.97-incubator</version> 41 </dependency> 37 42 </dependencies> 38 43 </project> -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/dao/CategoryDao.java
r6821 r6831 52 52 */ 53 53 private static CategoryDao instance; 54 /**55 * Cache. non utilisé pour le moment56 */57 private List<Category> cache;58 54 59 55 /** … … 81 77 * @throws IOException 82 78 */ 83 public List<Category> lister(boolean rafraichir, boolean recursive) throws IOException { 84 if (cache == null || rafraichir) { 85 Document doc = Main.sessionManager.executerReturnDocument(MethodsEnum.LISTER_CATEGORIES.getLabel(), 86 "recursive", String.valueOf(recursive)); 87 Element element = doc.getRootElement().getChild("categories"); 88 List<Element> listElement = (List<Element>) element.getChildren("category"); 89 ArrayList<Category> categories = new ArrayList<Category>(); 90 for (Element cat : listElement) { 91 Category myCat = new Category(cat); 92 categories.add(myCat); 93 } 94 this.cache = categories; 79 public List<Category> lister(boolean recursive) throws IOException { 80 Document doc = Main.sessionManager.executerReturnDocument(MethodsEnum.LISTER_CATEGORIES.getLabel(), 81 "recursive", String.valueOf(recursive)); 82 Element element = doc.getRootElement().getChild("categories"); 83 List<Element> listElement = (List<Element>) element.getChildren("category"); 84 ArrayList<Category> categories = new ArrayList<Category>(); 85 for (Element cat : listElement) { 86 Category myCat = new Category(cat); 87 categories.add(myCat); 95 88 } 96 return ca che;89 return categories; 97 90 } 98 91 -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/dao/ImageDao.java
r6821 r6831 14 14 import fr.mael.jiwigo.om.Image; 15 15 import fr.mael.jiwigo.transverse.enumeration.MethodsEnum; 16 import fr.mael.jiwigo.transverse.enumeration.PreferencesEnum; 16 17 import fr.mael.jiwigo.transverse.util.Outil; 18 import fr.mael.jiwigo.transverse.util.preferences.PreferencesManagement; 17 19 18 20 /** … … 157 159 //on convertit la miniature en string base64 158 160 BASE64Encoder base64 = new BASE64Encoder(); 161 159 162 String thumbnailBase64 = base64.encode(Outil.getBytesFromFile(image.getThumbnail())); 160 163 //on envoie la miniature et on recupere la reponse … … 162 165 thumbnailBase64, "type", "thumb", "position", "1", "original_sum", Outil.getMD5Checksum(image 163 166 .getOriginale().getAbsolutePath()))); 164 //on convertit le fichier original en string base64 165 String originaleBase64 = base64.encode(Outil.getBytesFromFile(image.getOriginale())); 166 //on envoie l'image originale et on recupere la reponse 167 Document reponseOriginale = (Main.sessionManager.executerReturnDocument("pwg.images.addChunk", "data", 168 originaleBase64, "type", "file", "position", "1", "original_sum", Outil.getMD5Checksum(image 169 .getOriginale().getAbsolutePath()))); 167 168 //begin feature:0001827 169 Double doubleChunk = Double.parseDouble(PreferencesManagement.getValue(PreferencesEnum.CHUNK_SIZE.getLabel())) * 1000 * 1024; 170 int chunk = doubleChunk.intValue(); 171 ArrayList<File> fichiersAEnvoyer = Outil.splitFile(image.getOriginale(), chunk); 172 boolean echec = false; 173 for (int i = 0; i < fichiersAEnvoyer.size(); i++) { 174 File fichierAEnvoyer = fichiersAEnvoyer.get(i); 175 String originaleBase64 = base64.encode(Outil.getBytesFromFile(fichierAEnvoyer)); 176 Document reponseOriginale = (Main.sessionManager.executerReturnDocument("pwg.images.addChunk", "data", 177 originaleBase64, "type", "file", "position", String.valueOf(i), "original_sum", Outil 178 .getMD5Checksum(image.getOriginale().getAbsolutePath()))); 179 if (!Outil.checkOk(reponseOriginale)) { 180 echec = true; 181 break; 182 } 183 } 184 //end 185 170 186 //on ajoute l'image en base et on recupere la reponse 171 187 Document reponseAjout = (Main.sessionManager.executerReturnDocument("pwg.images.add", "file_sum", Outil … … 173 189 .getThumbnail().getCanonicalPath()), "position", "1", "original_sum", Outil.getMD5Checksum(image 174 190 .getOriginale().getAbsolutePath()), "categories", String.valueOf(image.getIdCategory()), "name", image 175 .getName(), "author", image.getAuteur())); 176 191 .getName(), "author", Main.sessionManager.getLogin())); 192 // System.out.println(Main.sessionManager.executerReturnString("pwg.images.add", "file_sum", Outil 193 // .getMD5Checksum(image.getOriginale().getAbsolutePath()), "thumbnail_sum", Outil.getMD5Checksum(image 194 // .getThumbnail().getCanonicalPath()), "position", "1", "original_sum", Outil.getMD5Checksum(image 195 // .getOriginale().getAbsolutePath()), "categories", String.valueOf(image.getIdCategory()), "name", image 196 // .getName(), "author", Main.sessionManager.getLogin())); 177 197 boolean reussite = true; 178 if (!Outil.checkOk(reponseThumb) || !Outil.checkOk(reponseOriginale)|| !Outil.checkOk(reponseAjout)) {198 if (!Outil.checkOk(reponseThumb) || echec || !Outil.checkOk(reponseAjout)) { 179 199 reussite = false; 180 200 } -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/service/CategoryService.java
r6821 r6831 73 73 * @throws IOException 74 74 */ 75 public List<Category> lister(boolean r afraichir, boolean recursive) throws IOException {76 return CategoryDao.getInstance().lister(r afraichir, recursive);75 public List<Category> lister(boolean recursive) throws IOException { 76 return CategoryDao.getInstance().lister(recursive); 77 77 } 78 78 … … 84 84 */ 85 85 public List<Category> construireArbre() throws IOException { 86 List<Category> list = CategoryDao.getInstance().lister( false,true);86 List<Category> list = CategoryDao.getInstance().lister(true); 87 87 for (Category category : list) { 88 88 for (Category category2 : list) { -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/service/ImageService.java
r6821 r6831 5 5 import java.util.List; 6 6 7 import fr.mael.jiwigo.Main;8 7 import fr.mael.jiwigo.dao.ImageDao; 9 8 import fr.mael.jiwigo.om.Image; 10 9 import fr.mael.jiwigo.transverse.enumeration.PreferencesEnum; 11 10 import fr.mael.jiwigo.transverse.util.ImagesUtil; 12 import fr.mael.jiwigo.transverse.util. MetadataExtractor;11 import fr.mael.jiwigo.transverse.util.Outil; 13 12 import fr.mael.jiwigo.transverse.util.preferences.PreferencesManagement; 14 13 … … 67 66 } 68 67 68 /** 69 * Method called to send an image to the server. 70 71 * @param filePath 72 * @param idCategory 73 * @return 74 * @throws Exception 75 */ 69 76 public boolean creer(String filePath, Integer idCategory) throws Exception { 77 //get the byte array of the original file, to keep metadata 78 byte[] bytesFichierOriginal = Outil.getBytesFromFile(new File(filePath)); 79 80 //size taken from the user's preferences 70 81 int widthOriginale = Integer 71 82 .valueOf(PreferencesManagement.getValue(PreferencesEnum.WIDTH_ORIGINALE.getLabel())); 72 83 int heightOriginale = Integer.valueOf(PreferencesManagement 73 84 .getValue(PreferencesEnum.HEIGHT_ORIGINAL.getLabel())); 85 //resize the picture (or not) 74 86 boolean originaleRedimensionnee = ImagesUtil.scale(filePath, "originale.jpg", widthOriginale, heightOriginale); 87 //create the thumbnail 75 88 ImagesUtil.scale(filePath, "thumb.jpg", 120, 90); 89 //get the thumbnail 76 90 File thumbnail = new File(System.getProperty("java.io.tmpdir") + "/thumb.jpg"); 77 91 File originale = null; 78 92 if (originaleRedimensionnee) { 79 93 originale = new File(System.getProperty("java.io.tmpdir") + "/originale.jpg"); 94 //if the original file has been resized, we put the metadata in the resized file 95 //I use here a try catch because if the original file isn't a jpeg 96 //the methode Outil.enrich will fail, but the procedure has to continue 97 try { 98 byte[] fichierEnrichi = Outil.enrich(bytesFichierOriginal, Outil.getBytesFromFile(new File(System 99 .getProperty("java.io.tmpdir") 100 + "/originale.jpg"))); 101 Outil.byteToFile(System.getProperty("java.io.tmpdir") + "/originale.jpg", fichierEnrichi); 102 } catch (Exception e) { 103 } 80 104 } else { 81 105 originale = new File(filePath); 82 } 83 MetadataExtractor medataExtractor = new MetadataExtractor(originale.getAbsolutePath()); 84 String auteur = medataExtractor.getAuteur(); 85 if (auteur == null) { 86 auteur = Main.sessionManager.getLogin(); 106 87 107 } 88 108 Image image = new Image(); … … 90 110 image.setThumbnail(thumbnail); 91 111 image.setOriginale(originale); 92 image.setAuteur(auteur);93 112 image.setIdCategory(idCategory); 113 //now we call the dao to send the image to the webservice 94 114 return ImageDao.getInstance().creer(image); 95 115 } 96 116 117 /** 118 * Deletes the file extension 119 * @param path 120 * @return 121 */ 97 122 private String getImageName(String path) { 98 123 File fichier = new File(path); -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/transverse/session/SessionManager.java
r6821 r6831 119 119 method.addParameter(parametres[i], parametres[i + 1]); 120 120 } 121 //begin bug:0001833 122 method.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); 123 //end 124 121 125 try { 122 126 client.executeMethod(method); -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/transverse/util/Outil.java
r6821 r6831 2 2 3 3 import java.io.BufferedInputStream; 4 import java.io.ByteArrayInputStream; 5 import java.io.ByteArrayOutputStream; 4 6 import java.io.DataInputStream; 5 7 import java.io.File; 6 8 import java.io.FileInputStream; 9 import java.io.FileOutputStream; 7 10 import java.io.IOException; 8 11 import java.io.InputStream; … … 14 17 import java.net.URLClassLoader; 15 18 import java.security.MessageDigest; 16 19 import java.util.ArrayList; 20 21 import org.apache.sanselan.Sanselan; 22 import org.apache.sanselan.common.IImageMetadata; 23 import org.apache.sanselan.formats.jpeg.JpegImageMetadata; 24 import org.apache.sanselan.formats.jpeg.JpegPhotoshopMetadata; 25 import org.apache.sanselan.formats.jpeg.exifRewrite.ExifRewriter; 26 import org.apache.sanselan.formats.jpeg.iptc.JpegIptcRewriter; 27 import org.apache.sanselan.formats.jpeg.iptc.PhotoshopApp13Data; 28 import org.apache.sanselan.formats.tiff.write.TiffOutputSet; 17 29 import org.jdom.Document; 18 30 import org.jdom.JDOMException; … … 209 221 return result.toString(); 210 222 } 223 224 /** 225 * Function that splits a file 226 * @param fichier the file to split 227 * @param size the size of the resulting chunks 228 * @return the list of files 229 * @throws IOException 230 */ 231 //feature:0001827 232 public static ArrayList<File> splitFile(File fichier, int size) throws IOException { 233 FileInputStream fis = new FileInputStream(fichier); 234 byte buffer[] = new byte[size]; 235 ArrayList<File> listFichiers = new ArrayList<File>(); 236 int count = 0; 237 while (true) { 238 int i = fis.read(buffer, 0, size); 239 if (i == -1) 240 break; 241 File file = new File(System.getProperty("java.io.tmpdir") + "/tempcut" + count); 242 listFichiers.add(file); 243 FileOutputStream fos = new FileOutputStream(file); 244 fos.write(buffer, 0, i); 245 fos.flush(); 246 fos.close(); 247 248 ++count; 249 } 250 return listFichiers; 251 } 252 253 /** 254 * Function used to put the exif and iptc metadata from one image to another 255 * @param enriched original image where the metadata comes from 256 * @param naked image where to put metadata 257 * @return enriched image 258 * @throws Exception 259 */ 260 public static byte[] enrich(byte[] enriched, byte[] naked) throws Exception { 261 262 // read IPTC metadata from the original enriched image 263 IImageMetadata metadata = Sanselan.getMetadata(enriched); 264 JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata; 265 JpegPhotoshopMetadata photoshopMetadata = jpegMetadata.getPhotoshop(); 266 if (photoshopMetadata == null) { 267 return naked; 268 } 269 270 PhotoshopApp13Data data = photoshopMetadata.photoshopApp13Data; 271 272 // read the EXIF metadata from the parsed JPEG metadata 273 TiffOutputSet outputSet = jpegMetadata.getExif().getOutputSet(); 274 275 // enrich the naked byte[] with EXIF metadata 276 ExifRewriter writer = new ExifRewriter(); 277 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); 278 writer.updateExifMetadataLossless(naked, outputStream, outputSet); 279 280 // enrich the partially clothed byte[] with IPTC metadata 281 InputStream src = new ByteArrayInputStream(outputStream.toByteArray()); 282 ByteArrayOutputStream dest = new ByteArrayOutputStream(); 283 new JpegIptcRewriter().writeIPTC(src, dest, data); 284 285 // return the fully clothed image as a byte[] 286 return dest.toByteArray(); 287 } 288 289 public static void byteToFile(String fichier, byte[] bytes) throws IOException { 290 FileOutputStream fos = new FileOutputStream(fichier); 291 fos.write(bytes); 292 fos.flush(); 293 fos.close(); 294 295 } 211 296 } -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/browser/BrowserFrame.java
r6821 r6831 68 68 * 69 69 */ 70 public class NavigateurFrame extends JFrame implements ActionListener {70 public class BrowserFrame extends JFrame implements ActionListener { 71 71 /** 72 72 * Logger 73 73 */ 74 74 public static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory 75 .getLog( NavigateurFrame.class);75 .getLog(BrowserFrame.class); 76 76 /** 77 77 * bouton pour passer à l'image suivante … … 106 106 * Panel qui contient l'image 107 107 */ 108 private NavigateurImagePanel imagePanel;108 private BrowserImagePanel imagePanel; 109 109 110 110 /** … … 126 126 private AWTEventListener generalListener; 127 127 128 public NavigateurFrame(Image image) {128 public BrowserFrame(Image image) { 129 129 this.setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(Outil.getURL("fr/mael/jiwigo/img/icon.png"))); 130 130 this.setTitle(Messages.getMessage("titleBrowser")); … … 174 174 try { 175 175 img = ImageIO.read(new URL(ImagesManagement.getCurrentImage().getUrl())); 176 imagePanel = new NavigateurImagePanel(img);176 imagePanel = new BrowserImagePanel(img); 177 177 } catch (Exception e1) { 178 178 LOG.error(Outil.getStackTrace(e1)); … … 183 183 Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); 184 184 this.getRootPane().setWindowDecorationStyle(JRootPane.PLAIN_DIALOG); 185 this.setExtendedState( JFrame.MAXIMIZED_BOTH);186 this.setExtendedState(JFrame.ICONIFIED | this.getExtendedState());185 this.setExtendedState(getExtendedState() | JFrame.MAXIMIZED_BOTH); 186 // this.setExtendedState(JFrame.ICONIFIED | this.getExtendedState()); 187 187 panelBoutons.add(imagePanel.getSlider()); 188 188 imagePanel.setLayout(new BorderLayout()); … … 194 194 this.setLocationRelativeTo(null); 195 195 this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); 196 this.setVisible(true);196 setUpMenu(); 197 197 //instanciation du listener general 198 198 this.generalListener = new AWTEventListener() { … … 209 209 } 210 210 }; 211 this.setVisible(true); 212 211 213 //ajout du listener general 212 214 //Toolkit.getDefaultToolkit().addAWTEventListener(generalListener, AWTEvent.KEY_EVENT_MASK); 213 setUpMenu();214 215 215 216 } -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/browser/BrowserImagePanel.java
r6821 r6831 52 52 * 53 53 */ 54 public class NavigateurImagePanel extends JPanel implements MouseWheelListener, Printable {54 public class BrowserImagePanel extends JPanel implements MouseWheelListener, Printable { 55 55 private BufferedImage image; 56 56 private double scale = 1.0; … … 63 63 * @param image 64 64 */ 65 public NavigateurImagePanel(BufferedImage image) {65 public BrowserImagePanel(BufferedImage image) { 66 66 this.image = image; 67 67 this.addMouseWheelListener(this); -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/CategoriesTree.java
r6821 r6831 106 106 */ 107 107 public void setUpUi() { 108 //begin bug:0001830 108 109 root.removeAllChildren(); 109 110 createNodes(root); 110 DefaultTreeModel model = (DefaultTreeModel) tree.getModel(); 111 model.nodeStructureChanged(root); 111 ((DefaultTreeModel) tree.getModel()).reload(); 112 //end 113 112 114 } 113 115 … … 183 185 int selRow = tree.getRowForLocation(e.getX(), e.getY()); 184 186 TreePath selPath = tree.getPathForLocation(e.getX(), e.getY()); 187 //begin bug:0001832 188 tree.setSelectionRow(selRow); 189 //end 185 190 if (selRow != -1) { 186 191 if (e.getButton() == 3) { -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/MainFrame.java
r6821 r6831 3 3 import java.awt.BorderLayout; 4 4 import java.awt.FlowLayout; 5 import java.awt.event.ActionEvent; 6 import java.awt.event.ActionListener; 5 7 6 8 import javax.swing.JFrame; 7 9 import javax.swing.JLabel; 10 import javax.swing.JMenu; 11 import javax.swing.JMenuBar; 12 import javax.swing.JMenuItem; 8 13 import javax.swing.JPanel; 9 14 import javax.swing.JScrollPane; … … 42 47 * Frame principale 43 48 */ 44 public class MainFrame extends JFrame {49 public class MainFrame extends JFrame implements ActionListener { 45 50 /** 46 51 * Logger … … 60 65 * Panel contenant les miniatures de la catégorie courante 61 66 */ 62 public static MiniaturesCategoryPanel imagesPanel;67 public static ThumbnailCategoryPanel imagesPanel; 63 68 /** 64 69 * Scrollpane contenant le panel ci dessus … … 69 74 */ 70 75 private JLabel labelMessage; 76 77 /** 78 * Barre de menu 79 */ 80 private JMenuBar jMenuBar; 81 82 /** 83 * Menu d'édition 84 */ 85 private JMenu jMenuEdition; 86 87 /** 88 * menu des preferences 89 */ 90 private JMenuItem jMenuItemPreferences; 71 91 72 92 /** … … 92 112 this.setIconImage(java.awt.Toolkit.getDefaultToolkit().getImage(Outil.getURL("fr/mael/jiwigo/img/icon.png"))); 93 113 this.setLayout(new BorderLayout()); 114 jMenuBar = new JMenuBar(); 94 115 labelMessage = new JLabel(Messages.getMessage("welcomeMessage")); 95 116 splitPane = new JSplitPane(); 96 117 categoriesTree = new CategoriesTree(); 97 118 splitPane.setLeftComponent(categoriesTree); 98 imagesPanel = new MiniaturesCategoryPanel(null);119 imagesPanel = new ThumbnailCategoryPanel(null); 99 120 scrollPaneImagesPanel = new JScrollPane(imagesPanel, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, 100 121 JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); … … 104 125 JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT)); 105 126 panel.add(labelMessage); 127 128 jMenuEdition = new JMenu(Messages.getMessage("mainFrame_editionMenu")); 129 jMenuBar.add(jMenuEdition); 130 jMenuItemPreferences = new JMenuItem(Messages.getMessage("mainFrame_preferencesMenu")); 131 jMenuItemPreferences.addActionListener(this); 132 jMenuEdition.add(jMenuItemPreferences); 133 134 this.setJMenuBar(jMenuBar); 106 135 this.add(panel, BorderLayout.SOUTH); 107 136 this.pack(); … … 134 163 } 135 164 165 @Override 166 public void actionPerformed(ActionEvent arg0) { 167 if (arg0.getSource().equals(jMenuItemPreferences)) { 168 new PreferencesDialog(this); 169 } 170 171 } 172 136 173 } -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailCategoryPanel.java
r6821 r6831 43 43 * Classe qui affiche toutes les miniatures d'une catégorie 44 44 */ 45 public class MiniaturesCategoryPanel extends JPanel {45 public class ThumbnailCategoryPanel extends JPanel { 46 46 /** 47 47 * Logger 48 48 */ 49 49 public static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory 50 .getLog( MiniaturesCategoryPanel.class);50 .getLog(ThumbnailCategoryPanel.class); 51 51 /** 52 52 * L'id de la catégorie pour laquelle les miniatures doivent être affichées … … 58 58 * @param categoryId l'id de la catégorie 59 59 */ 60 public MiniaturesCategoryPanel(Integer categoryId) {60 public ThumbnailCategoryPanel(Integer categoryId) { 61 61 this.categoryId = categoryId; 62 62 this.setLayout(new FlowLayout()); … … 98 98 try { 99 99 // MiniatureLabel label = new MiniatureLabel(image, this); 100 MiniaturePanel panel = new MiniaturePanel(image);100 ThumbnailPanel panel = new ThumbnailPanel(image); 101 101 this.add(panel); 102 102 } catch (Exception e) { -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailPanel.java
r6821 r6831 13 13 import fr.mael.jiwigo.om.Image; 14 14 import fr.mael.jiwigo.ui.ImagesManagement; 15 import fr.mael.jiwigo.ui.browser. NavigateurFrame;15 import fr.mael.jiwigo.ui.browser.BrowserFrame; 16 16 17 17 /** … … 45 45 * C'est un panel "cliquable", qui permet d'afficher l'image à taille réelle 46 46 */ 47 public class MiniaturePanel extends JLabel implements MouseListener {47 public class ThumbnailPanel extends JLabel implements MouseListener { 48 48 /** 49 49 * Logger 50 50 */ 51 51 public static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory 52 .getLog( MiniaturePanel.class);52 .getLog(ThumbnailPanel.class); 53 53 /** 54 54 * l'image … … 61 61 * @param imagesPanel le panel 62 62 */ 63 public MiniaturePanel(Image image) {63 public ThumbnailPanel(Image image) { 64 64 this.image = image; 65 65 this.addMouseListener(this); … … 88 88 // on affiche l'image en grand 89 89 ImagesManagement.setCurrentImage(image); 90 new NavigateurFrame(image); 90 try { 91 new BrowserFrame(image); 92 } catch (Exception e) { 93 94 } 91 95 92 96 } -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_fr.properties
r6821 r6831 8 8 loading=Chargement... 9 9 titleBrowser=Jiwigo :: Navigateur de fichiers 10 cancel=Annuler 11 12 ##################################################### 13 ################### Main Frame ###################### 14 ##################################################### 15 mainFrame_editionMenu=Edition 16 mainFrame_preferencesMenu=Préférences 17 18 ##################################################### 19 ################## Preferences ###################### 20 ##################################################### 21 preferences_tabImage=Images 22 preferences_imagesSize=Taille des images 23 preferences_chunkSize=Taille des "morceaux" (en Mo) 24 10 25 11 26 ##################################################### … … 20 35 imagesListingError=Erreur lors de la récupération des images 21 36 configDefaultCreation=Erreur lors de la création des fichiers de configuration par défaut 37 preferencesCheckValues=Veuillez vérifier les valeurs entrées 38 preferencesUnexpectedError=<html>Une erreur inattendue s'est produite. Les préférences ne seront<br/>probablement pas mises à jour</html> 22 39 23 40 #####################################################
Note: See TracChangeset
for help on using the changeset viewer.