Skip to content

Commit

Permalink
Resolve CSUB-581; Rebased on CSUB-580; Remove Locale Validation from CI'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ada Anderson authored and AdaJane committed Jun 20, 2023
1 parent 356fe8b commit 7db5e48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 38 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ jobs:
- uses: actions/checkout@master
- name: Check License Lines
uses: kt3k/license_checker@v1.0.6
validate-locales:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: yarn run locale:validate
build:
runs-on: ubuntu-latest
strategy:
Expand Down
29 changes: 3 additions & 26 deletions src/config/help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export const HelpConfig: HelpItems = [
'Proxy Accounts',
],
external: [
['connectAccounts', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['howToUse', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['stakeDot', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['creditcoinDocs', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
],
},
{
Expand All @@ -40,22 +38,7 @@ export const HelpConfig: HelpItems = [
'Nominations',
'Inactive Nominations',
],
external: [
[
'changeDestination',
'https://docs.creditcoin.org',
'docs.creditcoin.org',
],
['bondMore', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['unbondingTokens', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['rebonding', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
['changeAccount', 'https://docs.creditcoin.org', 'docs.creditcoin.org'],
[
'changeNominations',
'https://docs.creditcoin.org',
'docs.creditcoin.org',
],
],
external: [],
},
{
key: 'validators',
Expand All @@ -72,13 +55,7 @@ export const HelpConfig: HelpItems = [
'Over Subscribed',
'Blocked Nominations',
],
external: [
[
'chooseValidators',
'https://docs.creditcoin.org',
'docs.creditcoin.org',
],
],
external: [],
},
{
key: 'payouts',
Expand Down
2 changes: 1 addition & 1 deletion src/library/Help/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const Help = () => {

{activeExternals.length > 0 && (
<>
<h3>{t('modal.articles')}</h3>
<h3>{t('modal.docs')}</h3>
{activeExternals.map((item, index: number) => (
<External
key={`ext_${index}`}
Expand Down
5 changes: 3 additions & 2 deletions src/locale/en/help.json
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,12 @@
"howToUse": "How to Use the Staking Dashboard: Overview",
"rebonding": "Rebonding",
"stakeDot": "Staking your CTC",
"unbondingTokens": "Unbonding Your Tokens"
"unbondingTokens": "Unbonding Your Tokens",
"creditcoinDocs": "Link to Creditcoin documentation"
},
"modal": {
"allResources": "All Resources",
"articles": "Articles",
"docs": "Documentation",
"close": "Close",
"definitions": "Definitions",
"helpResources": "Help Resources",
Expand Down

0 comments on commit 7db5e48

Please sign in to comment.