Skip to content

Commit

Permalink
Rename 'Everyone else's personal collections' to 'All personal collec…
Browse files Browse the repository at this point in the history
…tions'
  • Loading branch information
tlrobinson committed Aug 7, 2018
1 parent 9f674f7 commit 354c7cc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
4 changes: 3 additions & 1 deletion frontend/src/metabase/components/CollectionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import Link from "metabase/components/Link";
import CollectionDropTarget from "metabase/containers/dnd/CollectionDropTarget";
import ItemDragSource from "metabase/containers/dnd/ItemDragSource";

import { PERSONAL_COLLECTIONS } from "metabase/entities/collections";

@connect(({ currentUser }) => ({ currentUser }), null)
class CollectionList extends React.Component {
render() {
Expand Down Expand Up @@ -74,7 +76,7 @@ class CollectionList extends React.Component {
<GridItem w={w}>
<CollectionItem
collection={{
name: t`Everyone else's personal collections`,
name: PERSONAL_COLLECTIONS.name,
// Bit of a hack. The route /collection/users lists
// user collections but is not itself a colllection,
// but using the fake id users here works
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/metabase/entities/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const PERSONAL_COLLECTION = {
// fake collection for admins that contains all other user's collections
export const PERSONAL_COLLECTIONS = {
id: "personal", // placeholder id
name: t`Everyone else's personal collections`,
name: t`All personal collections`,
location: "/",
path: ["root"],
can_write: false,
Expand Down
15 changes: 7 additions & 8 deletions locales/metabase.pot
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"#-#-#-#-# metabase-backend.pot (metabase) #-#-#-#-#\n"
"Project-Id-Version: metabase\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-08-07 11:33-0700\n"
"POT-Creation-Date: 2018-08-07 11:48-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -2488,17 +2488,12 @@ msgstr ""
msgid "View the archive"
msgstr ""

#: frontend/src/metabase/components/CollectionList.jsx:60
#: frontend/src/metabase/components/CollectionList.jsx:62
#: frontend/src/metabase/entities/collections.js:129
msgid "My personal collection"
msgstr ""

#: frontend/src/metabase/components/CollectionList.jsx:77
#: frontend/src/metabase/entities/collections.js:138
msgid "Everyone else's personal collections"
msgstr ""

#: frontend/src/metabase/components/CollectionList.jsx:100
#: frontend/src/metabase/components/CollectionList.jsx:102
#: frontend/src/metabase/containers/CollectionForm.jsx:9
msgid "New collection"
msgstr ""
Expand Down Expand Up @@ -3342,6 +3337,10 @@ msgstr ""
msgid "Our analytics"
msgstr ""

#: frontend/src/metabase/entities/collections.js:138
msgid "All personal collections"
msgstr ""

#: frontend/src/metabase/entities/dashboards.js:93
msgid "What is the name of your dashboard?"
msgstr ""
Expand Down

0 comments on commit 354c7cc

Please sign in to comment.