Skip to content

Commit b804241

Browse files
authored
Merge branch 'master' into hide-filters
2 parents 4df9050 + ac48f93 commit b804241

40 files changed

Lines changed: 230 additions & 151 deletions

.storybook/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ import type { Configuration } from 'webpack';
55

66
import NodePolyfillPlugin from 'node-polyfill-webpack-plugin';
77
import TranslationsPlugin from '@box/frontend/webpack/TranslationsPlugin';
8+
import { DefinePlugin } from 'webpack';
89
import { translationDependencies } from '../scripts/i18n.config';
910

1011
const language = process.env.LANGUAGE;
12+
const version = process.env.NODE_ENV === 'production' ? 'demo' : 'dev';
1113

1214
const config: StorybookConfig = {
1315
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
@@ -59,6 +61,9 @@ const config: StorybookConfig = {
5961

6062
webpack.plugins = webpack.plugins || [];
6163
webpack.plugins.push(
64+
new DefinePlugin({
65+
__VERSION__: JSON.stringify(version),
66+
}),
6267
new TranslationsPlugin({
6368
generateBundles: true,
6469
additionalMessageData: translationDependencies.map(pkg => `${pkg}/i18n/[language]`),

i18n/bn-IN.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = পণ্য
583583
# Title for the message center modal
584584
be.messageCenter.title = নতুন কী
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = পরিবর্তন সেভ করা যায়নি। অনুগ্রহ করে আবার চেষ্টা করুন।
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1টি ডকুমেন্ট আপডেট করা হয়েছে} other{# টি ডকুমেন্ট আপডেট করা হয়েছে}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = সংশোধিত {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = {name}-এর দ্বারা {date}-এ সংশোধিত
593593
# Label for a button that displays more options
594594
be.moreOptions = আরও বিকল্প
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = একাধিক মান
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = নাম: A → Z
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = বাছাই করুন
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = স্থিতি
843843
# Generic success label.
844-
be.success = Success
844+
be.success = সফল
845845
# Shown instead of todays date.
846846
be.today = আজ
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -977,7 +977,7 @@ boxui.classification.add = যোগ করুন
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978978
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = {modifiedAt} এ Box AI
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = শ্রেণিবিভাজন
983983
# Classification label color name as dark blue

i18n/da-DK.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Produkt
583583
# Title for the message center modal
584584
be.messageCenter.title = Nyheder
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = Kunne ikke gemme ændringer. Prøv venligst igen.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 dokument uploadet} other{# dokumenter uploadet}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Ændret {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Ændret {date} af {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Flere muligheder
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Flere værdier
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Navn: A → Å
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Sortér
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = Status
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Gennemført
845845
# Shown instead of todays date.
846846
be.today = i dag
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -977,7 +977,7 @@ boxui.classification.add = Tilføj
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978978
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Klassificering
983983
# Classification label color name as dark blue

i18n/de-DE.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Produkt
583583
# Title for the message center modal
584584
be.messageCenter.title = Neuerungen
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = Änderungen können nicht gespeichert werden. Versuchen Sie es bitte noch einmal.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 document updated} other{# documents updated}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Geändert am {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Geändert am {date} von {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Weitere Optionen
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Mehrere Werte
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Name: A → Z
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Sortieren
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = Status
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Erfolgreich
845845
# Shown instead of todays date.
846846
be.today = heute
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -975,9 +975,9 @@ boxui.checkboxTooltip.iconInfoText = Informationen
975975
# Button to add classification on an item
976976
boxui.classification.add = Hinzufügen
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978-
boxui.classification.appliedByBoxAi = Box-KI
978+
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI am {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Klassifizierung
983983
# Classification label color name as dark blue

i18n/en-AU.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ be.messageCenter.title = What's New
585585
# Text shown in error notification banner
586586
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 document updated} one{1 document updated} other{# documents updated}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Modified {date}
591591
# Text for modified date with user with modified prefix.

i18n/en-GB.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ be.messageCenter.title = What's New
585585
# Text shown in error notification banner
586586
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 document updated} one{1 document updated} other{# documents updated}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Modified {date}
591591
# Text for modified date with user with modified prefix.

i18n/es-419.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Producto
583583
# Title for the message center modal
584584
be.messageCenter.title = Novedades
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = No se pueden guardar los cambios. Inténtelo de nuevo.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 documento actualizado} other{# documentos actualizados}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Modificado el {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Modificado el {date} por {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Más opciones
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Múltiples valores
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Nombre: A → Z
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Ordenar
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = Estado
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Con éxito
845845
# Shown instead of todays date.
846846
be.today = hoy
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -975,9 +975,9 @@ boxui.checkboxTooltip.iconInfoText = Información
975975
# Button to add classification on an item
976976
boxui.classification.add = Agregar
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978-
boxui.classification.appliedByBoxAi = IA de Box
978+
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI el {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Clasificación
983983
# Classification label color name as dark blue

i18n/es-ES.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Producto
583583
# Title for the message center modal
584584
be.messageCenter.title = Novedades
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = No se pueden guardar los cambios. Inténtelo de nuevo.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 documento actualizado} other{# documentos actualizados}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Modificado el {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Modificado el {date} por {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Más opciones
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Múltiples valores
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Nombre: A → Z
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Ordenar
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = Estado
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Con éxito
845845
# Shown instead of todays date.
846846
be.today = hoy
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -975,9 +975,9 @@ boxui.checkboxTooltip.iconInfoText = Información
975975
# Button to add classification on an item
976976
boxui.classification.add = Agregar
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978-
boxui.classification.appliedByBoxAi = IA de Box
978+
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI el {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Clasificación
983983
# Classification label color name as dark blue

i18n/fi-FI.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Tuote
583583
# Title for the message center modal
584584
be.messageCenter.title = Uudet ominaisuudet
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = Muutoksia ei voi tallentaa. Yritä uudelleen.
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 document updated} other{# documents updated}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Muokattu {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Muokattu {date}, käyttäjä {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Lisäasetukset
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Useita arvoja
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Nimi: A → Ö
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Lajittele
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = Tila
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Onnistui
845845
# Shown instead of todays date.
846846
be.today = tänään
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -977,7 +977,7 @@ boxui.classification.add = Lisää
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978978
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Luokitus
983983
# Classification label color name as dark blue

i18n/fr-CA.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,17 +583,17 @@ be.messageCenter.product = Produit
583583
# Title for the message center modal
584584
be.messageCenter.title = Nouveautés
585585
# Text shown in error notification banner
586-
be.metadataUpdateErrorNotification = Unable to save changes. Please try again.
586+
be.metadataUpdateErrorNotification = Impossible d'enregistrer les modifications. Veuillez réessayer .
587587
# Text shown in success notification banner
588-
be.metadataUpdateSuccessNotification = {numSelected, plural, =1 {1 document updated} other {# documents updated} }
588+
be.metadataUpdateSuccessNotification = {numSelected,plural,=1{1 document mis à jour} other{# documents mis à jour}}
589589
# Text for modified date with modified prefix.
590590
be.modifiedDate = Dernière modification le {date}
591591
# Text for modified date with user with modified prefix.
592592
be.modifiedDateBy = Dernière modification effectuée le {date} par {name}
593593
# Label for a button that displays more options
594594
be.moreOptions = Plus d'options
595595
# Display text for field when there are multiple items selected and have different value
596-
be.multipleValues = Multiple Values
596+
be.multipleValues = Valeurs multiples
597597
# Name ascending option shown in the share access drop down select.
598598
be.nameASC = Nom : de A à Z
599599
# Name descending option shown in the share access drop down select.
@@ -841,7 +841,7 @@ be.sort = Trier
841841
# Label for status skill card in the preview sidebar
842842
be.statusSkill = État
843843
# Generic success label.
844-
be.success = Success
844+
be.success = Succès
845845
# Shown instead of todays date.
846846
be.today = aujourd'hui
847847
# Label for keywords/topics skill section in the preview sidebar
@@ -977,7 +977,7 @@ boxui.classification.add = Ajouter
977977
# Title of the card that shows the reason why the AI classification was applied when no date is available.
978978
boxui.classification.appliedByBoxAi = Box AI
979979
# Title of the card that shows the reason why the AI classification was applied on a specific date.
980-
boxui.classification.appliedByBoxAiOnDate = Box AI on {modifiedAt}
980+
boxui.classification.appliedByBoxAiOnDate = Box AI sur {modifiedAt}
981981
# Header for classification section in sidebar
982982
boxui.classification.classification = Classement
983983
# Classification label color name as dark blue

0 commit comments

Comments
 (0)