# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,118,94)
  Expand = True
  Persistent = True
  Arrangement = Arrange.Fill
  { mnuTranslation Menu
    Visible = False
    { mnuNew Menu
      Text = Shortcut(("New"), "N") & "..."
      Picture = Picture["icon:/large/add"]
    }
    { mnuReload Menu
      Text = Shortcut(("Reload"), "R")
      Picture = Picture["icon:/large/undo"]
    }
    { mnuSave Menu
      Text = ("Save")
      Picture = Picture["icon:/large/save"]
    }
    { mnuDelete Menu
      Text = Shortcut(("Delete"), "D")
      Picture = Picture["icon:/large/delete"]
    }
    { Menu1 Menu
    }
    { mnuVerify Menu
      Text = ("Verify translation") & "..."
      Picture = Picture["icon:/large/apply"]
    }
    { mnuAutoTrans Menu
      Text = ("Automatic translation") & "..."
      Picture = Picture["icon:/large/fill"]
    }
    { mnuTranslator Menu
      Text = ("Translation engine")
      { Menu3 Menu
      }
    }
    { 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,2,115,86)
    Expand = True
    Arrangement = Arrange.Vertical
    Border = False
    Count = 4
    Index = 0
    Text = ("Translation")
    Picture = Picture["icon:/small/language"]
    { tlbLanguage ToolBar
      MoveScaled(1,1,113,4)
      Key = "language"
      ReadOnly = True
      { btnMenu MenuButton
        MoveScaled(0,0,6,4)
        Action = "tr-menu"
        AutoResize = True
        Picture = Picture["icon:/small/menu"]
        Border = False
        Menu = "mnuTranslation"
        MenuOnly = True
      }
      { btnSave ToolButton mnuSave
        Name = "btnSave"
        MoveScaled(6,0,4,4)
        ToolTip = ("Save translation")
        Action = "tr-save"
        Picture = Picture["icon:/small/save"]
      }
      { btnNew ToolButton mnuNew
        Name = "btnNew"
        MoveScaled(10,0,4,4)
        ToolTip = ("Add a new translation")
        Action = "tr-new-language"
        Picture = Picture["icon:/small/add"]
      }
      { btnVerify ToolButton mnuVerify
        Name = "btnVerify"
        MoveScaled(14,0,4,4)
        ToolTip = ("Verify translation")
        Action = "tr-verify"
        Picture = Picture["icon:/small/apply"]
      }
      { Panel9 Panel
        MoveScaled(20,0,1,4)
      }
      { txtFind ButtonBox
        MoveScaled(23,0,15,4)
        Expand = True
        Picture = Picture["icon:/tiny/find"]
      }
      { Panel2 HBox
        MoveScaled(41,0,4,4)
      }
      { Label1 Label
        MoveScaled(46,0,5,4)
        AutoResize = True
        Text = ("Show")
      }
      { Panel8 Panel
        MoveScaled(51,0,1,4)
      }
      { cmbFileChoice ComboBox
        MoveScaled(53,0,34,4)
        Font = Font["Bold"]
        ReadOnly = True
      }
      { Panel10 Panel
        MoveScaled(89,0,1,4)
      }
      { chkHideTranslated CheckBox
        MoveScaled(93,0,19,4)
        AutoResize = True
        Text = ("Hide translated strings")
      }
    }
    { Separator6 Separator
      MoveScaled(30,8,10,0)
    }
    { HBox2 HBox
      MoveScaled(0,12,98,4)
      { Panel4 HBox
        MoveScaled(9,0,39,4)
        Expand = True
        { picLangSource PictureBox
          MoveScaled(0,0,4,4)
          Alignment = Align.Center
        }
        { cmbLangSource ComboBox
          MoveScaled(5,0,21,4)
          Background = Color.Background
          Expand = True
          ReadOnly = True
          Border = False
        }
        { PictureBox1 PictureBox
          MoveScaled(31,0,6,4)
          Padding = 8
          Picture = Picture.Load("img/128/arrow.png")
          Alignment = Align.Center
          Mode = PictureBox.Contain
        }
      }
      { Panel6 HBox
        MoveScaled(61,0,22,4)
        Expand = True
        { picLang PictureBox
          MoveScaled(0,0,4,4)
          Alignment = Align.Center
        }
        { cmbLang ComboBox
          MoveScaled(5,0,12,4)
          Font = Font["Bold"]
          Background = Color.Background
          Expand = True
          ReadOnly = True
          Border = False
        }
      }
      { panSpaceAfter Panel
        MoveScaled(89,0,3,4)
      }
    }
    { Separator1 Separator
      MoveScaled(39,18,21,0)
    }
    { VSplit1 VSplit
      MoveScaled(1,25,98,44)
      Expand = True
      { cvwTranslate ColumnView
        MoveScaled(3,4,70,8)
        Expand = True
        Sorted = True
        Header = False
        AutoResize = False
        Border = False
        ScrollBar = Scroll.Vertical
        Grid = True
      }
      { 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)
        }
        { tlbTranslate ToolBar
          MoveScaled(1,15,82,4)
          Key = "translate"
          ReadOnly = True
          { btnNextTranslated ToolButton
            MoveScaled(0,0,4,4)
            ToolTip = ("Find next translated string")
            Action = "tr-down"
            Picture = Picture["icon:/small/down"]
          }
          { btnPreviousTranslated ToolButton
            MoveScaled(4,0,4,4)
            ToolTip = ("Find previous translated string")
            Action = "tr-up"
            Picture = Picture["icon:/small/up"]
          }
          { Separator10 Separator
            MoveScaled(9,0,0,4)
          }
          { btnFirstUntranslated ToolButton
            MoveScaled(9.125,0,4,4)
            ToolTip = ("Find first untranslated string")
            Action = "tr-first"
            Picture = Picture["icon:/small/start"]
          }
          { btnPreviousUntranslated ToolButton
            MoveScaled(13,0,4,4)
            ToolTip = ("Find previous untranslated string")
            Action = "tr-previous"
            Picture = Picture["icon:/small/rewind"]
          }
          { btnNextUntranslated ToolButton
            MoveScaled(17,0,4,4)
            ToolTip = ("Find next untranslated string")
            Action = "tr-next"
            Picture = Picture["icon:/small/forward"]
          }
          { btnLastUntranslated ToolButton
            MoveScaled(21,0,4,4)
            ToolTip = ("Find last untranslated string")
            Action = "tr-last"
            Picture = Picture["icon:/small/end"]
          }
          { Separator9 Separator
            MoveScaled(28,0,0,4)
          }
          { btnClear ToolButton
            MoveScaled(30,0,4,4)
            ToolTip = ("Clear this translation")
            Action = "tr-clear"
            Picture = Picture["icon:/small/delete"]
          }
          { btnDoNotTranslate ToolButton
            MoveScaled(34,0,4,4)
            ToolTip = ("This string must not be translated")
            Action = "tr-do-not-translate"
            Picture = Picture["icon:/small/warning"]
          }
          { btnCopy ToolButton
            MoveScaled(38,0,4,4)
            ToolTip = ("Copy untranslated string")
            Action = "tr-copy"
            Picture = Picture["icon:/small/copy"]
          }
          { btnAutoTrans MenuButton
            MoveScaled(43,0,26,4)
            Action = "tr-auto-trans"
            AutoResize = True
            Text = ("Automatic translation")
            Picture = Picture["icon:/small/fill"]
            Border = False
            Menu = "mnuTranslator"
          }
        }
        { 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
          }
        }
      }
    }
    Index = 1
    Text = ("Statistics")
    Picture = Picture["icon:/medium/statistics"]
    { cvwLang ColumnView
      MoveScaled(1,1,19,25)
      Mouse = Cursor.Arrow
      Expand = True
      Mode = Select.None
      Sorted = True
      Header = False
      Resizable = True
      Border = False
      ScrollBar = Scroll.Vertical
    }
    Index = 2
    Text = ("Import file")
    Picture = Picture["icon:/medium/import"]
    { dchImport DirChooser
      MoveScaled(2,1,100,48)
      Expand = True
      Border = False
      View = FileView.Detailed
      ShowFile = True
      ShowSplitter = False
    }
    { Separator3 Separator
      MoveScaled(19,51,16,0)
    }
    { HBox4 HBox
      MoveScaled(1,60,100,6)
      Spacing = True
      Margin = True
      { chkReplace CheckBox
        MoveScaled(1,1,30,4)
        AutoResize = True
        Text = ("Replace existing translations")
      }
      { chkBrowse CheckBox
        MoveScaled(32,1,33,4)
        AutoResize = True
        Text = ("Import all translations  recursively")
      }
      { Panel5 Panel
        MoveScaled(78,1,1,4)
        Expand = True
      }
      { btnImport Button
        MoveScaled(79,1,18,4)
        ToolTip = ("Import a translation file")
        AutoResize = True
        Text = Shortcut(("Import"), "I")
        Picture = Picture["icon:/small/import"]
      }
    }
    Index = 3
    Text = ("Import project")
    Picture = Picture["icon:/medium/earth"]
    { pchImport ProjectChooser
      MoveScaled(4,3,92,46)
      Expand = True
    }
    { Separator11 Separator
      MoveScaled(19,50,16,0)
    }
    { HBox1 HBox
      MoveScaled(1,59,100,6)
      Spacing = True
      Margin = True
      { chkReplace2 CheckBox
        MoveScaled(1,1,30,4)
        AutoResize = True
        Text = ("Replace existing translations")
      }
      { Panel3 Panel
        MoveScaled(51,1,1,4)
        Expand = True
      }
      { btnImportProject Button
        MoveScaled(69,1,28,4)
        ToolTip = ("Import all translations of a project")
        AutoResize = True
        Text = ("Import all translations") & "..."
        Picture = Picture["icon:/small/earth"]
      }
    }
    Index = 0
  }
  { btnSpace ToolButton
    MoveScaled(76,1,4,4)
    Visible = False
    Background = Color.Background
    Ignore = True
  }
  { btnWorkspace WorkspaceButton
    MoveScaled(82,1,4,4)
    Background = Color.Background
    ToolTip = ("Show project files")
    Ignore = True
  }
}

# Gambas Action File 3.0

{ Actions
  { Action tr-auto-trans
    Text = "Automatic translation"
    Picture = "icon:/small/fill"
  }
  { Action tr-clear
    Text = "Clear this translation"
    Picture = "icon:/small/delete"
  }
  { Action tr-copy
    Text = "Copy untranslated string"
    Picture = "icon:/small/copy"
  }
  { Action tr-do-not-translate
    Text = "This string must not be translated"
    Picture = "icon:/small/warning"
  }
  { Action tr-down
    Text = "Find next translated string"
    Picture = "icon:/small/down"
  }
  { Action tr-first
    Text = "Find first untranslated string"
    Picture = "icon:/small/start"
  }
  { Action tr-last
    Text = "Find last untranslated string"
    Picture = "icon:/small/end"
  }
  { Action tr-menu
    Text = ""
    Picture = "icon:/small/menu"
  }
  { Action tr-new-language
    Text = "Add a new translation"
    Picture = "icon:/small/add"
  }
  { Action tr-next
    Text = "Find next untranslated string"
    Picture = "icon:/small/forward"
  }
  { Action tr-previous
    Text = "Find previous untranslated string"
    Picture = "icon:/small/rewind"
  }
  { Action tr-save
    Text = "Save translation"
    Picture = "icon:/small/save"
  }
  { Action tr-up
    Text = "Find previous translated string"
    Picture = "icon:/small/up"
  }
  { Action tr-verify
    Text = "Verify translation"
    Picture = "icon:/small/apply"
  }
}

{ Toolbars
  { Toolbar language
    Text = ""
    List = "tr-menu,tr-save,tr-new-language,tr-verify"
    Default = "tr-menu,tr-save,tr-new-language,tr-verify,-,$txtFind,$Panel2,$Label1,-,$cmbFileChoice,-,$chkHideTranslated"
  }
  { Toolbar translate
    Text = ""
    List = "tr-down,tr-up,tr-first,tr-previous,tr-next,tr-last,tr-clear,tr-do-not-translate,tr-copy,tr-auto-trans"
    Default = "tr-down,tr-up,|,tr-first,tr-previous,tr-next,tr-last,|,tr-clear,tr-do-not-translate,tr-copy,tr-auto-trans"
  }
}
