Author: tian
Date: Sat Jun 18 23:20:04 2016
New Revision: 2284

URL: http://svn.gna.org/viewcvs/gcstar?rev=2284&view=rev
Log:
Added price and French translation to building toys

Modified:
    trunk/gcstar/lib/gcstar/GCLang/EN/GCModels/GCbuildingtoys.pm
    trunk/gcstar/lib/gcstar/GCLang/FR/GCModels/GCbuildingtoys.pm
    trunk/gcstar/lib/gcstar/GCLang/FR/GCstar.pm
    trunk/gcstar/lib/gcstar/GCModels/GCbuildingtoys.gcm
    trunk/gcstar/lib/gcstar/GCPanel.pm

Modified: trunk/gcstar/lib/gcstar/GCLang/EN/GCModels/GCbuildingtoys.pm
URL: 
http://svn.gna.org/viewcvs/gcstar/trunk/gcstar/lib/gcstar/GCLang/EN/GCModels/GCbuildingtoys.pm?rev=2284&r1=2283&r2=2284&view=diff
==============================================================================
--- trunk/gcstar/lib/gcstar/GCLang/EN/GCModels/GCbuildingtoys.pm        
(original)
+++ trunk/gcstar/lib/gcstar/GCLang/EN/GCModels/GCbuildingtoys.pm        Sat Jun 
18 23:20:04 2016
@@ -54,10 +54,12 @@
             Url => 'Web page',
 
         Details => 'Details',
-            Case => 'Case',
+            Box => 'Box',
+            Sealed => 'Sealed',
             Manual => 'Instructions manual',
-            Open => 'Open',
             Comments => 'Comments',
+            PaidPrice => 'Price paid',
+            EstimatedPrice => 'Current estimate',
 
         Pictures => 'Pictures',
             Images => 'Images',

Modified: trunk/gcstar/lib/gcstar/GCLang/FR/GCModels/GCbuildingtoys.pm
URL: 
http://svn.gna.org/viewcvs/gcstar/trunk/gcstar/lib/gcstar/GCLang/FR/GCModels/GCbuildingtoys.pm?rev=2284&r1=2283&r2=2284&view=diff
==============================================================================
--- trunk/gcstar/lib/gcstar/GCLang/FR/GCModels/GCbuildingtoys.pm        
(original)
+++ trunk/gcstar/lib/gcstar/GCLang/FR/GCModels/GCbuildingtoys.pm        Sat Jun 
18 23:20:04 2016
@@ -31,36 +31,41 @@
 
     our %lang = (
     
-        CollectionDescription => 'Building toys collection',
-        Items => {0 => 'Sets',
-                  1 => 'Set',
-                  X => 'Sets',
-                  lowercase1 => 'set',
-                  lowercaseX => 'sets'
+        CollectionDescription => 'Collection de jouets de constructions',
+        Items => {0 => 'Ensemble',
+                  1 => 'Ensemble',
+                  X => 'Ensembles',
+                  lowercase1 => 'ensemble',
+                  lowercaseX => 'ensemble'
                   },
-        NewItem => 'New set',
+        NewItem => 'Nouvel ensemble',
     
-        SetDescription => 'Set description',
-            Id => 'Id',
-            Reference => 'Reference',
-            Name => 'Name',
-            MainPic => 'Main picture',
-            Brand => 'Brand',
-            Theme => 'Theme',
-            Released => 'Release Date',            
-            NumberPieces => 'Number of pieces',
-            NumberMiniFigs => 'Number of minifigures',
+        SetDescription => 'Description',
+            Id => 'Identifiant',
+            Reference => 'Référence',
+            Name => 'Nom',
+            MainPic => 'Image principale',
+            Brand => 'Marque',
+            Theme => 'Thème',
+            Released => 'Date de sortie',            
+            NumberPieces => 'Nombre de pièces',
+            NumberMiniFigs => 'Nombre de figurines',
             Description => 'Description',
-            Url => 'Web page',
+            Url => 'Page web',
 
-        Details => 'Details',
-            Case => 'Case',
-            Manual => 'Instructions manual',
-            Open => 'Open',
-            Comments => 'Comments',
+        Details => 'Détails',
+            Case => 'Boîte',
+            Manual => 'Notice',
+            Sealed => 'Scellée',
+            Comments => 'Commentaires',
+            PaidPrice => 'Prix',
+            EstimatedPrice => 'Estimation',
 
-        Pictures => 'Pictures',
+        Pictures => 'Images',
             Images => 'Images',
+            
+        Minifigures => 'Figurines',
+            MinifiguresPics => 'Images des figurines',
       );
 }
 

Modified: trunk/gcstar/lib/gcstar/GCLang/FR/GCstar.pm
URL: 
http://svn.gna.org/viewcvs/gcstar/trunk/gcstar/lib/gcstar/GCLang/FR/GCstar.pm?rev=2284&r1=2283&r2=2284&view=diff
==============================================================================
--- trunk/gcstar/lib/gcstar/GCLang/FR/GCstar.pm (original)
+++ trunk/gcstar/lib/gcstar/GCLang/FR/GCstar.pm Sat Jun 18 23:20:04 2016
@@ -479,7 +479,7 @@
         'PanelImageTipMenu' => ' Clic droit pour plus d\'options.',
         'PanelImageTitle' => 'Sélectionnez une image',
         'PanelImageNoImage' => 'Pas d\'image',
-        'PanelSelectFileTitle' => 'Sélectionnez un fichier',
+        'PanelSelectFileTitle' => 'Choisir fichier',
         'PanelLaunch' => 'Démarrer',        
         'PanelRestoreDefault' => 'Rétablir défaut',
         'PanelRefresh' => 'Rafraîchir',

Modified: trunk/gcstar/lib/gcstar/GCModels/GCbuildingtoys.gcm
URL: 
http://svn.gna.org/viewcvs/gcstar/trunk/gcstar/lib/gcstar/GCModels/GCbuildingtoys.gcm?rev=2284&r1=2283&r2=2284&view=diff
==============================================================================
--- trunk/gcstar/lib/gcstar/GCModels/GCbuildingtoys.gcm (original)
+++ trunk/gcstar/lib/gcstar/GCModels/GCbuildingtoys.gcm Sat Jun 18 23:20:04 2016
@@ -59,9 +59,10 @@
        
        <groups>
                <group id="info" label="SetDescription"/>
+               <group id="details" label="Details"/>
                <group id="perso" label="Personal"/>
                <group id="pictures" label="Pictures"/>
-               <group id="minifigures" label="Minifigures"/>
+               <group id="minifigs" label="Minifigures"/>
        </groups>
 
        <random>
@@ -147,9 +148,9 @@
                                max="10"
                                group="details"
                                imported="false"/>
-               <field value="case"
+               <field value="box"
                                type="yesno"
-                               label="Case"
+                               label="Box"
                                init="1"
                                group="details"
                                imported="false"/>
@@ -159,9 +160,9 @@
                                init="1"
                                group="details"
                                imported="false"/>
-               <field value="open"
+               <field value="sealed"
                                type="yesno"
-                               label="Open"
+                               label="Sealed"
                                init="1"
                                group="details"
                                imported="false"/>
@@ -174,6 +175,18 @@
                <field value="location"
                                type="history text"
                                label="PanelLocation"
+                               init=""
+                               group="details"
+                               imported="false"/>
+               <field value="paid"
+                               type="number"
+                               label="PaidPrice"
+                               init=""
+                               group="details"
+                               imported="false"/>
+               <field value="estimate"
+                               type="number"
+                               label="EstimatedPrice"
                                init=""
                                group="details"
                                imported="false"/>
@@ -255,20 +268,24 @@
                                        </item>
                                </item>
                                <item type="tab" value="details" 
title="Details">
-                                       <item type="table" rows="7" cols="3">
-                                               <item type="line" row="0" 
col="0" colspan="3">
-                                                   <item type="value" 
for="case" />
+                                       <item type="table" rows="7" cols="6">
+                                               <item type="line" row="0" 
col="0" colspan="10">
+                                                   <item type="value" 
for="box" />
+                                                       <item type="value" 
for="sealed" />
                                                    <item type="value" 
for="manual" />
-                                                   <item type="value" 
for="open" />
                                            </item>
                                                <item type="label" for="rating" 
row="1" col="0"/>
-                                               <item type="value" for="rating" 
row="1" col="1" colspan="2"/>
+                                               <item type="value" for="rating" 
row="1" col="1" colspan="1"/>
                                                <item type="label" for="added" 
row="2" col="0"/>
-                                               <item type="value" for="added" 
row="2" col="1" colspan="2"/>                    
+                                               <item type="value" for="added" 
row="2" col="1" colspan="1"/>                    
                                                <item type="label" 
for="location" row="3" col="0"/>
-                                               <item type="value" 
for="location" row="3" col="1" colspan="2"/>
+                                               <item type="value" 
for="location" row="3" col="1" colspan="1"/>
+                                               <item type="label" for="paid" 
row="2" col="4"/>
+                                               <item type="value" for="paid" 
row="2" col="5" colspan="1"/>                     
+                                               <item type="label" 
for="estimate" row="3" col="4"/>
+                                               <item type="value" 
for="estimate" row="3" col="5" colspan="1"/>
                                                <item type="label" 
for="instructions" row="4" col="0"/>
-                                               <item type="line" row="4" 
col="1" colspan="2">                                          
+                                               <item type="line" row="4" 
col="1" colspan="1">                                          
                                                <item type="value" 
for="instructions" nomargin="true" expand="true"/>                              
             
                                            <item type="launcher" 
for="instructions" nomargin="true"/>
                                            </item>

Modified: trunk/gcstar/lib/gcstar/GCPanel.pm
URL: 
http://svn.gna.org/viewcvs/gcstar/trunk/gcstar/lib/gcstar/GCPanel.pm?rev=2284&r1=2283&r2=2284&view=diff
==============================================================================
--- trunk/gcstar/lib/gcstar/GCPanel.pm  (original)
+++ trunk/gcstar/lib/gcstar/GCPanel.pm  Sat Jun 18 23:20:04 2016
@@ -578,7 +578,7 @@
                 my $format = 
$self->{model}->{fieldsInfo}->{$_->{for}}->{format};
                 
                 # If the launcher is for a video or music file, label the 
button 'play'
-                if (($format eq 'video') || ($format eq 'audio'))
+                if (($format eq 'video') || ($format eq 'audio') || ($format 
eq 'ebook'))
                 {
                     $widget = Gtk2::Button->new_from_stock('gtk-media-play');
                 }


_______________________________________________
GCstar-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gcstar-commits

Reply via email to