mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Add localization on logs page and confirm embed #3495
This commit is contained in:
		
							parent
							
								
									f94449a659
								
							
						
					
					
						commit
						1cac42aec5
					
				@ -370,7 +370,7 @@ export default {
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    embedClick() {
 | 
					    embedClick() {
 | 
				
			||||||
      const payload = {
 | 
					      const payload = {
 | 
				
			||||||
        message: `Are you sure you want to embed metadata in ${this.audioFiles.length} audio files?`,
 | 
					        message: this.$getString('MessageConfirmEmbedMetadataInAudioFiles', [this.audioFiles.length]),
 | 
				
			||||||
        callback: (confirmed) => {
 | 
					        callback: (confirmed) => {
 | 
				
			||||||
          if (confirmed) {
 | 
					          if (confirmed) {
 | 
				
			||||||
            this.updateAudioFileMetadata()
 | 
					            this.updateAudioFileMetadata()
 | 
				
			||||||
 | 
				
			|||||||
@ -10,9 +10,9 @@
 | 
				
			|||||||
      </template>
 | 
					      </template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="flex justify-between mb-2 place-items-end">
 | 
					      <div class="flex justify-between mb-2 place-items-end">
 | 
				
			||||||
        <ui-text-input ref="input" v-model="search" placeholder="Search filter.." @input="inputUpdate" clearable class="w-full sm:w-40 h-8 text-sm sm:mb-0" />
 | 
					        <ui-text-input ref="input" v-model="search" :placeholder="$strings.PlaceholderSearch" @input="inputUpdate" clearable class="w-full sm:w-40 h-8 text-sm sm:mb-0" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <ui-dropdown v-model="newServerSettings.logLevel" label="Server Log Level" :items="logLevelItems" @input="logLevelUpdated" class="w-full sm:w-44" />
 | 
					        <ui-dropdown v-model="newServerSettings.logLevel" :label="$strings.LabelServerLogLevel" :items="logLevelItems" @input="logLevelUpdated" class="w-full sm:w-44" />
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <div class="relative">
 | 
					      <div class="relative">
 | 
				
			||||||
 | 
				
			|||||||
@ -515,6 +515,7 @@
 | 
				
			|||||||
  "LabelSeries": "Series",
 | 
					  "LabelSeries": "Series",
 | 
				
			||||||
  "LabelSeriesName": "Series Name",
 | 
					  "LabelSeriesName": "Series Name",
 | 
				
			||||||
  "LabelSeriesProgress": "Series Progress",
 | 
					  "LabelSeriesProgress": "Series Progress",
 | 
				
			||||||
 | 
					  "LabelServerLogLevel": "Server Log Level",
 | 
				
			||||||
  "LabelServerYearReview": "Server Year in Review ({0})",
 | 
					  "LabelServerYearReview": "Server Year in Review ({0})",
 | 
				
			||||||
  "LabelSetEbookAsPrimary": "Set as primary",
 | 
					  "LabelSetEbookAsPrimary": "Set as primary",
 | 
				
			||||||
  "LabelSetEbookAsSupplementary": "Set as supplementary",
 | 
					  "LabelSetEbookAsSupplementary": "Set as supplementary",
 | 
				
			||||||
@ -685,6 +686,7 @@
 | 
				
			|||||||
  "MessageConfirmDeleteMetadataProvider": "Are you sure you want to delete custom metadata provider \"{0}\"?",
 | 
					  "MessageConfirmDeleteMetadataProvider": "Are you sure you want to delete custom metadata provider \"{0}\"?",
 | 
				
			||||||
  "MessageConfirmDeleteNotification": "Are you sure you want to delete this notification?",
 | 
					  "MessageConfirmDeleteNotification": "Are you sure you want to delete this notification?",
 | 
				
			||||||
  "MessageConfirmDeleteSession": "Are you sure you want to delete this session?",
 | 
					  "MessageConfirmDeleteSession": "Are you sure you want to delete this session?",
 | 
				
			||||||
 | 
					  "MessageConfirmEmbedMetadataInAudioFiles": "Are you sure you want to embed metadata in {0} audio files?",
 | 
				
			||||||
  "MessageConfirmForceReScan": "Are you sure you want to force re-scan?",
 | 
					  "MessageConfirmForceReScan": "Are you sure you want to force re-scan?",
 | 
				
			||||||
  "MessageConfirmMarkAllEpisodesFinished": "Are you sure you want to mark all episodes as finished?",
 | 
					  "MessageConfirmMarkAllEpisodesFinished": "Are you sure you want to mark all episodes as finished?",
 | 
				
			||||||
  "MessageConfirmMarkAllEpisodesNotFinished": "Are you sure you want to mark all episodes as not finished?",
 | 
					  "MessageConfirmMarkAllEpisodesNotFinished": "Are you sure you want to mark all episodes as not finished?",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user