Skip to content

Commit

Permalink
wording: Rename slug to handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed May 30, 2023
1 parent 0634d11 commit 42766c7
Show file tree
Hide file tree
Showing 31 changed files with 217 additions and 235 deletions.
2 changes: 1 addition & 1 deletion components/CreateEventForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class CreateEventForm extends React.Component {
};

this.messages = defineMessages({
'slug.label': { id: 'collective.slug.label', defaultMessage: 'url' },
'slug.label': { id: 'account.slug.label', defaultMessage: 'Handle' },
'type.label': { id: 'event.type.label', defaultMessage: 'Type' },
'name.label': { id: 'Fields.name', defaultMessage: 'Name' },
'amount.label': { id: 'Fields.amount', defaultMessage: 'Amount' },
Expand Down
4 changes: 2 additions & 2 deletions components/CreateOrganizationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { withUser } from './UserProvider';
const orgMessages = defineMessages({
nameLabel: { id: 'Organization.Name', defaultMessage: 'Organization name' },
legalNameLabel: { id: 'LegalName', defaultMessage: 'Legal Name' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your URL' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your profile URL' },
descriptionPlaceholder: {
id: 'create.collective.placeholder',
defaultMessage: 'Making the world a better place',
Expand Down Expand Up @@ -56,7 +56,7 @@ const orgMessages = defineMessages({
},
errorSlugHyphen: {
id: 'createOrg.form.error.slug.hyphen',
defaultMessage: 'Organization URL slug cannot start or end with a hyphen (-)',
defaultMessage: 'Organization handle cannot start or end with a hyphen (-)',
},
errorWebsite: {
id: 'createOrg.form.error.website',
Expand Down
6 changes: 3 additions & 3 deletions components/ExportTransactionsCSVModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ const FieldLabels = {
netAmount: <FormattedMessage defaultMessage="Net Amount" />,
balance: <FormattedMessage id="Balance" defaultMessage="Balance" />,
currency: <FormattedMessage id="Currency" defaultMessage="Currency" />,
accountSlug: <FormattedMessage defaultMessage="Account Slug" />,
accountSlug: <FormattedMessage defaultMessage="Account Handle" />,
accountName: <FormattedMessage defaultMessage="Account Name" />,
accountType: <FormattedMessage defaultMessage="Account Type" />,
accountEmail: <FormattedMessage defaultMessage="Account Email" />,
oppositeAccountSlug: <FormattedMessage defaultMessage="Opposite Account Slug" />,
oppositeAccountSlug: <FormattedMessage defaultMessage="Opposite Account Handle" />,
oppositeAccountName: <FormattedMessage defaultMessage="Opposite Account Name" />,
oppositeAccountType: <FormattedMessage defaultMessage="Opposite Account Type" />,
oppositeAccountEmail: <FormattedMessage defaultMessage="Opposite Account Email" />,
hostSlug: <FormattedMessage defaultMessage="Host Slug" />,
hostSlug: <FormattedMessage defaultMessage="Host Handle" />,
hostName: <FormattedMessage defaultMessage="Host Name" />,
hostType: <FormattedMessage defaultMessage="Host Type" />,
orderId: <FormattedMessage defaultMessage="Contribution ID" />,
Expand Down
4 changes: 2 additions & 2 deletions components/create-collective/CreateCollectiveForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const placeholders = {

const messages = defineMessages({
nameLabel: { id: 'createCollective.form.nameLabel', defaultMessage: 'Collective name' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your URL' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your profile URL' },
suggestedLabel: { id: 'createCollective.form.suggestedLabel', defaultMessage: 'Suggested' },
descriptionLabel: {
id: 'createCollective.form.descriptionLabel',
Expand All @@ -72,7 +72,7 @@ const messages = defineMessages({
},
errorSlugHyphen: {
id: 'createCollective.form.error.slug.hyphen',
defaultMessage: 'Collective slug URL cannot start or end with a hyphen',
defaultMessage: 'Collective handle cannot start or end with a hyphen',
},
});

Expand Down
2 changes: 1 addition & 1 deletion components/create-fund/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const placeholders = {

const messages = defineMessages({
nameLabel: { id: 'createFund.form.nameLabel', defaultMessage: "What's the name of your fund?" },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your URL' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your profile URL' },
suggestedLabel: { id: 'createCollective.form.suggestedLabel', defaultMessage: 'Suggested' },
descriptionLabel: {
id: 'createFund.form.descriptionLabel',
Expand Down
2 changes: 1 addition & 1 deletion components/create-project/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const placeholders = {

const messages = defineMessages({
nameLabel: { id: 'createProject.form.nameLabel', defaultMessage: 'Project name' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your URL' },
slugLabel: { id: 'createCollective.form.slugLabel', defaultMessage: 'Set your profile URL' },
descriptionLabel: {
id: 'createProject.form.descriptionLabel',
defaultMessage: "What's the purpose of your Project?",
Expand Down
4 changes: 2 additions & 2 deletions components/edit-collective/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class EditCollectiveForm extends React.Component {
defaultMessage: 'Create Event',
},
'slug.label': {
id: 'collective.changeUrl.label',
defaultMessage: 'URL slug',
id: 'account.slug.label',
defaultMessage: 'Handle',
},
'type.label': { id: 'collective.type.label', defaultMessage: 'Type' },
'name.label': { id: 'Fields.displayName', defaultMessage: 'Display name' },
Expand Down
4 changes: 2 additions & 2 deletions components/expenses/ExpenseFormPayeeInviteNewStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ const msg = defineMessages({
},
orgSlugLabel: {
id: 'createCollective.form.slugLabel',
defaultMessage: 'Set your URL',
defaultMessage: 'Set your profile URL',
},
orgSlugErrorTaken: {
id: 'createCollective.form.error.slug.taken',
defaultMessage: 'URL already taken',
defaultMessage: 'Profile URL already taken',
},
orgWebsiteLabel: {
id: 'createOrg.form.websiteLabel',
Expand Down
4 changes: 2 additions & 2 deletions components/expenses/ExpenseFormPayeeSignUpStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ const msg = defineMessages({
},
orgSlugLabel: {
id: 'createCollective.form.slugLabel',
defaultMessage: 'Set your URL',
defaultMessage: 'Set your profile URL',
},
orgSlugErrorTaken: {
id: 'createCollective.form.error.slug.taken',
defaultMessage: 'URL already taken',
defaultMessage: 'Profile URL already taken',
},
orgWebsiteLabel: {
id: 'createOrg.form.websiteLabel',
Expand Down
4 changes: 2 additions & 2 deletions components/osc-host-application/ApplicationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const messages = defineMessages({
},
errorSlugHyphen: {
id: 'createCollective.form.error.slug.hyphen',
defaultMessage: 'Collective slug URL cannot start or end with a hyphen',
defaultMessage: 'Collective handle cannot start or end with a hyphen',
},
name: {
id: 'OCFHostApplication.name.label',
Expand All @@ -129,7 +129,7 @@ const messages = defineMessages({
},
slug: {
id: 'createCollective.form.slugLabel',
defaultMessage: 'Set your URL',
defaultMessage: 'Set your profile URL',
},
repositoryUrl: {
id: 'HostApplication.form.RepositoryUrlLabel',
Expand Down
19 changes: 9 additions & 10 deletions lang/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@
"acceptContributions.success.toConsider": "A few things to consider:",
"acceptContributions.tiers.paragraphOne": "Customize your contribution tiers with different names, amounts, frequencies (one-time, monthly, or yearly), goals, and rewards. {knowMore}.",
"Account.None": "None",
"account.slug.label": "Handle",
"ACH Debit": "ACH Debit",
"actions.approve": "Aprova",
"actions.cancel": "Cancel·la",
Expand Down Expand Up @@ -406,6 +407,7 @@
"c+swVk": "Create token",
"C2rcD0": "Password is too weak. Try to use more characters or use a password manager to generate a strong one.",
"C3OBjO": "Submit Tax Form",
"C9DEAp": "Account Handle",
"C9HmCs": "Connect {service}",
"CancelEdit": "Cancel·la la modificació",
"Captcha.Button.Verified": "Verified Human.",
Expand Down Expand Up @@ -458,7 +460,6 @@
"collective.category.coop": "Cooperativa",
"collective.category.meetup": "Trobada",
"collective.category.movement": "Moviment",
"collective.changeUrl.label": "Nom curt d'URL",
"collective.company.description": "Start with @ to reference an organization (e.g., @airbnb)",
"collective.company.label": "companyia",
"collective.connectedAccounts.disconnect.button": "Desconnecta",
Expand Down Expand Up @@ -537,7 +538,6 @@
"collective.section.backers.users.title": "{n} {n, plural, one {persona suporta} other {persones suporten}} a {collective}",
"collective.sendMoney.paypalDisabled.description": "PayPal Payouts are disabled. Contributors are not able to request Expenses to be paid with PayPal.",
"collective.sendMoney.paypalEnabled.description": "PayPal Payouts are active. Contributors can request Expenses to be paid with PayPal.",
"collective.slug.label": "url",
"collective.subtitle.opensource": "Open source projects are invited to join the Open Source Collective Fiscal Host.",
"collective.subtitle.seeRepo": "Don't see the repository you're looking for? {helplink}.",
"collective.tags.edit.description": "Help people find you",
Expand Down Expand Up @@ -799,11 +799,11 @@
"createCollective.form.error.description": "Please use fewer than 160 characters",
"createCollective.form.error.name": "Please use fewer than 50 characters",
"createCollective.form.error.slug": "Please use fewer than 30 characters",
"createCollective.form.error.slug.hyphen": "Collective slug URL cannot start or end with a hyphen",
"createCollective.form.error.slug.taken": "URL already taken",
"createCollective.form.error.slug.hyphen": "Collective handle cannot start or end with a hyphen",
"createCollective.form.error.slug.taken": "Profile URL already taken",
"createCollective.form.locationPlaceholder": "Where are you based?",
"createCollective.form.nameLabel": "Collective name",
"createCollective.form.slugLabel": "Set your URL",
"createCollective.form.slugLabel": "Set your profile URL",
"createCollective.form.suggestedLabel": "Suggerit",
"createcollective.opensource.ManualVerification": "Demana la verificació manual",
"createcollective.opensource.p1": "You're creating software. You don't want to worry about creating a legal entity or bank account, taxes, invoices, and a bunch of other admin. Let us take care of all that, so you can stay focused on your project.",
Expand Down Expand Up @@ -856,7 +856,7 @@
"createOrder.missingTier": "Oops! This tier doesn't exist or has been removed by the collective admins.",
"CreateOrder.Title": "Contribute to {collective}",
"CreateOrder.TitleForEvent": "Order tickets for {event}",
"createOrg.form.error.slug.hyphen": "Organization URL slug cannot start or end with a hyphen (-)",
"createOrg.form.error.slug.hyphen": "Organization handle cannot start or end with a hyphen (-)",
"createOrg.form.error.website": "Enter a valid website, e.g., www.example.com or example.org",
"createOrg.form.websiteLabel": "Organization website",
"createProfile.faq.anonymous.content": "Yes you can! Select the 'incognito' option to make your contribution anonymous to the public. However, the admins will still be able to see your profile and identity privately.",
Expand Down Expand Up @@ -1040,7 +1040,6 @@
"emptyBalance": "Empty Balance",
"EmptyCollectivePage": "{collective} is still working on their public profile. In the meantime, check out some other Collectives!",
"EndDate": "End Date",
"eRQWJE": "Account Slug",
"Error": "Error",
"Error.AccountEmailAlreadyExists": "An account already exists for this email, please <SignInLink>sign in</SignInLink>.",
"Error.BadCollectiveType": "This profile type is not supported",
Expand All @@ -1061,7 +1060,6 @@
"error.website.invalid": "Invalid website address",
"errors.PM.Remove.HasActiveSubscriptions": "Aquest mètode de pagament no es pot suprimir perquè té contribucions financeres periòdiques actives.",
"ERs/eC": "{count, plural, one {# Grant} other {# Grants}}",
"ESh09p": "Host Slug",
"ET/GW3": "Redirecting…",
"ev5iix": "Own account",
"Ev6SEF": "New Password",
Expand Down Expand Up @@ -1286,7 +1284,6 @@
"FAV3Ng": "Error submiting form: {error}",
"FAYdqn": "Contact Collective",
"FcYV6Y": "Freeze collectives that don’t meet the minimum requirement",
"fdc3um": "Opposite Account Slug",
"FeatureNotSupported.description": "This page has not been activated for this Collective or you don't have permission to see it.",
"FeatureNotSupported.title": "Page inaccessible",
"Fees.ApproximationDisclaimer": "This amount can vary due to currency exchange rates or depending on the selected service.",
Expand Down Expand Up @@ -1525,6 +1522,7 @@
"hAcvJ3": "Personal Token",
"Hbj3Si": "Blog Entry",
"header.options": "Options",
"HEJLVH": "Search by name, handle, tag, description...",
"helpAndSupport.browseTopics": "Browse Topics",
"helpAndSupport.bugs": "Bugs & feature requests",
"helpAndSupport.collectiveProfiles": "Collective Profiles",
Expand Down Expand Up @@ -1886,6 +1884,7 @@
"Label.NumberOfExpenses": "# of Expenses",
"lc+Sfp": "Core member invitation declined",
"LdgLV7": "You can provide perks or rewards for your tiers, have a set membership fee, or create categories for your contributors. Tiers can be limited to an amount or frequency (one time, monthly, yearly), or allowed to be flexibly set by contributors.",
"LdJJpQ": "Opposite Account Handle",
"LearnMoreAboutServiceFees": "Més informació sobre les comissions de {service}",
"Legacy/Deprecated": "Legacy/Deprecated",
"LegalName": "Legal Name",
Expand Down Expand Up @@ -2473,7 +2472,6 @@
"qzsw+D": "Your Update will not be sent to anyone.",
"r+ksJu": "Create app",
"R1RQBD": "Your contribution will remain in processing state until it is completed from the payment processor's end. You will receive an email when it goes through successfully. No further action is required from your end.",
"R2x7v/": "Search by name, slug, tag, description...",
"r4N4cF": "Enter collectives related to your request.",
"r5PByj": "{type, select, TICKET {Ticket} other {Tier}} deleted.",
"r96v2J": "Where we're heading...",
Expand Down Expand Up @@ -3085,6 +3083,7 @@
"xQXSru": "Token name",
"xrcsxW": "New pending <Order>contribution</Order> from <FromAccount></FromAccount> to <Account></Account>",
"XruSTn": "This event will only be triggered when the activity occurs on {host}'s account, not on its hosted initiatives.",
"xv/T06": "Host Handle",
"XvKF/A": "Preview Notification",
"XVzYBE": "Manage members",
"XW00me": "Your host requires that Collectives have {numberOfAdmins, plural, one {# active administrator} other {# active administrators} }.",
Expand Down
Loading

0 comments on commit 42766c7

Please sign in to comment.