# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,116,76)
  Text = ("Project translation")
  Icon = Picture["icon:/small/language"]
  Persistent = True
  Arrangement = Arrange.Vertical
  Spacing = True
  Margin = True
  { mnuTranslation Menu
    Visible = False
    { mnuNew Menu
      Text = Shortcut(("New"), "N") & "..."
      Picture = Picture["icon:/small/new"]
    }
    { mnuReload Menu
      Text = Shortcut(("Reload"), "R")
      Picture = Picture["icon:/small/undo"]
    }
    { mnuDelete Menu
      Text = Shortcut(("Delete"), "D")
      Picture = Picture["icon:/small/delete"]
    }
    { Menu1 Menu
    }
    { mnuAutoTrans Menu
      Text = ("Automatic translation") & "..."
      Picture = Picture["icon:/small/fill"]
    }
    { Menu2 Menu
    }
    { mnuCopy Menu
      Text = ("Copy")
      Picture = Picture["icon:/small/copy"]
      { mnuCopyUntranslated Menu
        Text = Shortcut(("Untranslated strings"), "U") & "..."
      }
      { mnuCopyTranslated Menu
        Text = Shortcut(("Translated strings"), "T") & "..."
      }
      { mnuCopyAll Menu
        Text = Shortcut(("All strings"), "A") & "..."
      }
    }
    { mnuExport Menu
      Text = ("Export")
      Picture = Picture["icon:/small/save-as"]
      { mnuExportUntranslated Menu
        Text = Shortcut(("Untranslated strings"), "U") & "..."
      }
      { mnuExportTranslated Menu
        Text = Shortcut(("Translated strings"), "T") & "..."
      }
      { mnuExportAll Menu
        Text = Shortcut(("All strings"), "A") & "..."
      }
    }
  }
  { tabTranslate TabPanel
    MoveScaled(1,1,107,72)
    Expand = True
    Arrangement = Arrange.Vertical
    Count = 3
    Index = 0
    Text = ("Translation")
    { panTranslate VBox
      MoveScaled(1,1,105,6)
      Spacing = True
      Margin = True
      { HBox2 HBox
        MoveScaled(1,0,102,4)
        { btnMenu MenuButton
          MoveScaled(0,0,6,4)
          AutoResize = True
          Picture = Picture["icon:/small/language"]
          Border = False
          Menu = "mnuTranslation"
          MenuOnly = True
        }
        { cmbLangSource ComboBox
          MoveScaled(6,0,21,4)
          Expand = True
          ReadOnly = True
        }
        { PictureBox2 PictureBox
          MoveScaled(28,0,4,4)
          Picture = Picture["icon:/small/right"]
          Alignment = Align.Center
        }
        { cmbLang ComboBox
          MoveScaled(32,0,18,4)
          Font = Font["Bold"]
          Expand = True
          ReadOnly = True
        }
        { btnNew ToolButton mnuNew
          Name = "btnNew"
          MoveScaled(50,0,4,4)
          ToolTip = ("Add a new translation")
          Picture = Picture["icon:/small/add"]
        }
        { Panel8 Panel
          MoveScaled(55,0,3,4)
        }
        { Label1 Label
          MoveScaled(63,0,7,4)
          AutoResize = True
          Text = ("Show")
        }
        { Panel9 Panel
          MoveScaled(72,0,1,4)
        }
        { cmbFileChoice ComboBox
          MoveScaled(76,0,24,4)
          Expand = True
          ReadOnly = True
        }
      }
    }
    { Separator6 Separator
      MoveScaled(30,8,10,0)
    }
    { panToolbar HBox
      MoveScaled(3,10,91,4)
      { btnSave ToolButton
        MoveScaled(0,0,9,4)
        ToolTip = ("Save translation")
        AutoResize = True
        Text = ("Save")
        Picture = Picture["icon:/small/save"]
      }
      { btnVerify ToolButton
        MoveScaled(12,0,11,4)
        ToolTip = ("Verify the translation")
        AutoResize = True
        Text = ("Verify")
        Picture = Picture["icon:/small/apply"]
      }
      { Separator7 Separator
        MoveScaled(25,0,0,4)
      }
      { txtFind ButtonBox
        MoveScaled(33,0,16,4)
        Expand = True
        Picture = Picture["icon:/small/find"]
        Border = False
      }
    }
    { Separator2 Separator
      MoveScaled(21,15,11,0)
    }
    { VSplit1 VSplit
      MoveScaled(1,17,98,44)
      Expand = True
      { cvwTranslate ColumnView
        MoveScaled(7,2,70,8)
        Expand = True
        Sorted = True
        Header = False
        AutoResize = False
        Border = False
        ScrollBar = Scroll.Vertical
      }
      { VBox2 VBox
        MoveScaled(3,15,85,28)
        Expand = True
        { panComment HBox
          MoveScaled(7,0,11,4)
        }
        { Separator4 Separator
          MoveScaled(0,4,15,0)
        }
        { Panel7 Panel
          MoveScaled(1,6,40,6)
          Expand = True
          Arrangement = Arrange.Fill
          Padding = 2
          { txtOrig TextArea
            MoveScaled(0,0,39,5)
            Background = Color.Background
            ReadOnly = True
            Wrap = True
            Border = False
          }
        }
        { Separator5 Separator
          MoveScaled(3,13,15,0)
        }
        { panTransToolbar HBox
          MoveScaled(1,15,82,4)
          { btnNextTranslated ToolButton
            MoveScaled(1,0,4,4)
            ToolTip = ("Find next translated string")
            Picture = Picture["icon:/small/down"]
          }
          { btnPreviousTranslated ToolButton
            MoveScaled(5,0,4,4)
            ToolTip = ("Find previous translated string")
            Picture = Picture["icon:/small/up"]
          }
          { btnPreviousUntranslated ToolButton
            MoveScaled(9,0,4,4)
            ToolTip = ("Find previous untranslated string")
            Picture = Picture["icon:/small/rewind"]
          }
          { btnNextUntranslated ToolButton
            MoveScaled(13,0,4,4)
            ToolTip = ("Find next untranslated string")
            Picture = Picture["icon:/small/forward"]
          }
          { Separator9 Separator
            MoveScaled(19,0,0,4)
          }
          { btnClear ToolButton
            MoveScaled(21,0,4,4)
            ToolTip = ("Clear this translation")
            Picture = Picture["icon:/small/delete"]
          }
          { btnDoNotTranslate ToolButton
            MoveScaled(25,0,4,4)
            ToolTip = ("This string must not be translated")
            Picture = Picture["icon:/small/warning"]
          }
          { btnCopy ToolButton
            MoveScaled(29,0,4,4)
            ToolTip = ("Copy untranslated string")
            Picture = Picture["icon:/small/copy"]
          }
          { btnAutoTrans ToolButton
            MoveScaled(34,0,23,4)
            AutoResize = True
            Text = ("Automatic translation")
            Picture = Picture["icon:/small/fill"]
          }
        }
        { Separator8 Separator
          MoveScaled(1,20,15,0)
        }
        { Panel1 Panel
          MoveScaled(1,21,40,6)
          Background = Color.TextBackground
          Expand = True
          Arrangement = Arrange.Fill
          Padding = 2
          { txtTranslate TextArea
            MoveScaled(0,0,39,5)
            Wrap = True
            Border = False
          }
        }
      }
    }
    { Separator1 Separator
      MoveScaled(15,62,15,0)
    }
    { HBox6 Panel
      MoveScaled(1,63,102,4)
      Arrangement = Arrange.Horizontal
      AutoResize = True
      Spacing = True
      Margin = True
      { PictureBox3 PictureBox
        MoveScaled(0,0,4,4)
        Picture = Picture["icon:/medium/info"]
        AutoResize = True
        Alignment = Align.Center
      }
      { lblInfo Label
        MoveScaled(11,0,9,3)
        Expand = True
        AutoResize = True
      }
      { btnOK Button
        MoveScaled(83,0,18,4)
        AutoResize = True
        Text = Shortcut(("Close"), "C")
        Picture = Picture["icon:/small/close"]
        Cancel = True
      }
    }
    Index = 1
    Text = ("Statistics")
    { cvwLang ColumnView
      MoveScaled(1,1,19,25)
      Mouse = Mouse.Arrow
      Expand = True
      Mode = Select.None
      Sorted = True
      Header = False
      Resizable = True
      Border = False
      ScrollBar = Scroll.Vertical
    }
    Index = 2
    Text = ("Import")
    { dchImport DirChooser
      MoveScaled(2,1,100,48)
      Expand = True
      Border = False
      ShowFile = True
      ShowDetailed = True
      ShowSplitter = False
    }
    { Separator3 Separator
      MoveScaled(19,51,16,0)
    }
    { HBox4 HBox
      MoveScaled(1,55,100,10)
      Spacing = True
      Margin = True
      { Panel4 VBox
        MoveScaled(1,1,53,8)
        AutoResize = True
        { chkBrowse CheckBox
          MoveScaled(0,0,33,4)
          AutoResize = True
          Text = ("Import all translations  recursively")
        }
        { chkReplace CheckBox
          MoveScaled(0,4,33,4)
          AutoResize = True
          Text = ("Replace existing translations")
        }
      }
      { Panel5 Panel
        MoveScaled(60,3,1,4)
        Expand = True
      }
      { Panel3 VBox
        MoveScaled(68,2,28,6)
        AutoResize = True
        Invert = True
        { btnImport Button
          MoveScaled(0,0,18,4)
          ToolTip = ("Import a translation file")
          AutoResize = True
          Text = Shortcut(("Import"), "I")
          Picture = Picture["icon:/small/open"]
        }
      }
    }
    Index = 0
  }
}
