# 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(2,2,115,86)
    Expand = True
    Arrangement = Arrange.Vertical
    Spacing = True
    Border = False
    Count = 4
    CloseButton = True
    Separator = False
    Index = 0
    Text = ("Translation")
    Picture = Picture["icon:/small/language"]
    { tlbLanguage ToolBar
      MoveScaled(1,1,113,4)
      Key = "language"
      ReadOnly = True
      Border = 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)
        Background = Color.Transparent
        Expand = True
        Picture = Picture["icon:/medium/find"]
        Placeholder = ("Search a translation")
        Border = False
      }
      { 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")
      }
    }
    { Panel12 VBox
      MoveScaled(0,12,99.875,57.875)
      Expand = True
      { panLanguage Panel
        MoveScaled(0,0,98,4)
        Arrangement = Arrange.Horizontal
        AutoResize = True
        Border = Border.Styled
        { 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.Transparent
            Expand = True
            Border = False
            ReadOnly = True
          }
        }
        { Arrow1 Arrow
          MoveScaled(49,1,10,2)
          Padding = 8
          Orientation = Align.Right
          Size = 0.75
        }
        { 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.Transparent
            Expand = True
            Border = False
            ReadOnly = True
          }
        }
        { panSpaceAfter Panel
          MoveScaled(89,0,3,4)
        }
      }
      { VSplit1 VSplit
        MoveScaled(1,13,98,44)
        Expand = True
        Spacing = True
        Border = False
        { cvwTranslate ColumnView
          MoveScaled(3,4,70,8)
          Expand = True
          Sorted = True
          Header = False
          AutoResize = False
          ScrollBar = Scroll.Vertical
          Grid = True
        }
        { VBox2 VBox
          MoveScaled(5,14,85,28)
          Expand = True
          { panComment Panel
            MoveScaled(16,0,11,4)
            Arrangement = Arrange.Horizontal
            AutoResize = True
            Border = Border.Styled
          }
          { Panel7 Panel
            MoveScaled(3,5,43,7)
            Expand = True
            Arrangement = Arrange.Fill
            Padding = 2
            Border = Border.Styled
            { txtOrig TextArea
              MoveScaled(1,1,39,5)
              Background = Color.Transparent
              ReadOnly = True
              Wrap = True
              Border = False
            }
          }
          { Panel11 Panel
            MoveScaled(27,13,6,1)
          }
          { tlbTranslate ToolBar
            MoveScaled(2,15,82,4)
            Key = "translate"
            ReadOnly = True
            Border = 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"
            }
          }
          { Panel1 Panel
            MoveScaled(1,21,40,6)
            Background = Color.TextBackground
            Expand = True
            Arrangement = Arrange.Fill
            Padding = 2
            Border = Border.Styled
            { txtTranslate TextArea
              MoveScaled(4,1,35,4)
              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
      ScrollBar = Scroll.Vertical
    }
    Index = 2
    Text = ("Import file")
    Picture = Picture["icon:/medium/import"]
    { dchImport DirChooser
      MoveScaled(2,1,100,48)
      Expand = True
      View = FileView.Detailed
      ShowFile = True
      ShowSplitter = False
    }
    { HBox4 Panel
      MoveScaled(1,60,100,6)
      Arrangement = Arrange.Horizontal
      AutoResize = True
      Spacing = 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
      Border = True
    }
    { HBox1 Panel
      MoveScaled(1,59,100,6)
      Arrangement = Arrange.Horizontal
      AutoResize = True
      Spacing = 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
  }
}

# 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"
  }
}
