File tree Expand file tree Collapse file tree 10 files changed +25
-1
lines changed
Expand file tree Collapse file tree 10 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const de_DE = () => {
1212 theme : "Thema" ,
1313 general : "Allgemeines" ,
1414 autoUpdate : "Automatisch nach Aktualisierungen suchen" ,
15+ dragAndDrop : "Aktivieren Sie Drag & Drop" ,
1516 select : "Wählen" ,
1617 default : "Standard" ,
1718 defaultThemeDescription : "Das Standarddesign." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const en_US = () => {
1212 theme : "Theme" ,
1313 general : "General" ,
1414 autoUpdate : "Automatically check for updates" ,
15+ dragAndDrop : "Enable drag-and-drop" ,
1516 select : "Select" ,
1617 default : "Default" ,
1718 defaultThemeDescription : "The default theme." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const es_ES = () => {
1212 theme : "Tema" ,
1313 general : "General" ,
1414 autoUpdate : "Buscar actualizaciones automáticamente" ,
15+ dragAndDrop : "Habilitar arrastrar y soltar" ,
1516 select : "Seleccione" ,
1617 default : "Defecto" ,
1718 defaultThemeDescription : "El tema por defecto." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const fr_FR = () => {
1212 theme : "Thème" ,
1313 general : "Général" ,
1414 autoUpdate : "Vérifier automatiquement les mises à jour" ,
15+ dragAndDrop : "Activer le glisser-déposer" ,
1516 select : "Sélectionner" ,
1617 default : "Défaut" ,
1718 defaultThemeDescription : "Le thème par défaut." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const it_IT = () => {
1212 theme : "Tema" ,
1313 general : "Generale" ,
1414 autoUpdate : "Controlla automaticamente gli aggiornamenti" ,
15+ dragAndDrop : "Abilita il trascinamento della selezione" ,
1516 select : "Selezionare" ,
1617 default : "Predefinito" ,
1718 defaultThemeDescription : "Il tema predefinito" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const jp_JP = () => {
1212 theme : "テーマ" ,
1313 general : "全般" ,
1414 autoUpdate : "更新を自動的に確認する" ,
15+ dragAndDrop : "ドラッグアンドドロップを有効にする" ,
1516 select : "選択してください" ,
1617 default : "デフォルト" ,
1718 defaultThemeDescription : "デフォルトのテーマ。" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const nl_NL = () => {
1212 theme : "Thema" ,
1313 general : "Algemeen" ,
1414 autoUpdate : "Zoek automatisch naar updates" ,
15+ dragAndDrop : "Slepen en neerzetten inschakelen" ,
1516 select : "Selecteren" ,
1617 default : "Standaard" ,
1718 defaultThemeDescription : "Het standaard thema." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const ru_RU = () => {
1212 theme : "тема" ,
1313 general : "генеральный" ,
1414 autoUpdate : "Автоматически проверять наличие обновлений" ,
15+ dragAndDrop : "Включить перетаскивание" ,
1516 select : "Выбрать" ,
1617 default : "По умолчанию" ,
1718 defaultThemeDescription : "Тема по умолчанию." ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const tr_TR = () => {
1212 theme : "Tema" ,
1313 general : "Genel" ,
1414 autoUpdate : "Güncellemeleri otomatik olarak kontrol et" ,
15+ dragAndDrop : "Sürükle ve bırak özelliğini etkinleştir" ,
1516 select : "Seçmek" ,
1617 default : "Varsayılan" ,
1718 defaultThemeDescription : "Varsayılan tema." ,
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ const Settings = () => {
6060 const themeIndex = useSelector ( state => state . MainReducer . themeIndex ) ;
6161 const languageIndex = useSelector ( state => state . MainReducer . languageIndex ) ;
6262 const language = useSelector ( state => state . MainReducer . languages [ state . MainReducer . languageIndex ] ) ;
63+ const dragDrop = useSelector ( state => state . MainReducer . canDragDrop ) ;
6364 const autoUpdate = useSelector ( state => state . MainReducer . autoUpdate ) ;
6465 const minimize = useSelector ( state => state . MainReducer . minimizeEnabled ) ;
6566 const maximize = useSelector ( state => state . MainReducer . maximizeEnabled ) ;
@@ -165,12 +166,26 @@ const Settings = () => {
165166 type : 'SET_AUTO_UPDATE' ,
166167 payload : e . target . checked
167168 } ) }
168- value = "md5 "
169+ value = "autoUpdate "
169170 color = "primary"
170171 />
171172 }
172173 label = { language . autoUpdate }
173174 />
175+ < FormControlLabel
176+ control = {
177+ < Checkbox
178+ checked = { dragDrop }
179+ onChange = { ( e ) => dispatch ( {
180+ type : 'SET_CAN_DRAG_DROP' ,
181+ payload : e . target . checked
182+ } ) }
183+ value = "dragDrop"
184+ color = "primary"
185+ />
186+ }
187+ label = { language . dragAndDrop }
188+ />
174189 < FormControlLabel
175190 control = {
176191 < Checkbox
You can’t perform that action at this time.
0 commit comments