File tree Expand file tree Collapse file tree 11 files changed +14
-12
lines changed Expand file tree Collapse file tree 11 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 7
7
attributes :
8
8
label : Is your feature request related to a problem? Please describe.
9
9
description :
10
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10
+ A clear and concise description of what the problem is. Ex. I'm always
11
+ frustrated when [...]
11
12
- type : textarea
12
13
attributes :
13
14
label : Describe the solution you'd like
16
17
attributes :
17
18
label : Describe alternatives you've considered
18
19
description :
19
- A clear and concise description of any alternative solutions or features you've considered.
20
+ A clear and concise description of any alternative solutions or features
21
+ you've considered.
20
22
- type : textarea
21
23
attributes :
22
24
label : Additional context
Original file line number Diff line number Diff line change 1
1
themes : themes/index.js
2
2
doc-translation : docs/*
3
- card-i18n : src/assets/ translations.js
3
+ card-i18n : src/translations.js
Original file line number Diff line number Diff line change 9
9
renderError ,
10
10
} from "../src/common/utils.js" ;
11
11
import { fetchStats } from "../src/fetchers/stats-fetcher.js" ;
12
- import { isLocaleAvailable } from "../src/assets/ translations.js" ;
12
+ import { isLocaleAvailable } from "../src/translations.js" ;
13
13
14
14
dotenv . config ( ) ;
15
15
Original file line number Diff line number Diff line change 7
7
renderError ,
8
8
} from "../src/common/utils.js" ;
9
9
import { fetchRepo } from "../src/fetchers/repo-fetcher.js" ;
10
- import { isLocaleAvailable } from "../src/assets/ translations.js" ;
10
+ import { isLocaleAvailable } from "../src/translations.js" ;
11
11
12
12
export default async ( req , res ) => {
13
13
const {
Original file line number Diff line number Diff line change 9
9
renderError ,
10
10
} from "../src/common/utils.js" ;
11
11
import { fetchTopLanguages } from "../src/fetchers/top-languages-fetcher.js" ;
12
- import { isLocaleAvailable } from "../src/assets/ translations.js" ;
12
+ import { isLocaleAvailable } from "../src/translations.js" ;
13
13
14
14
dotenv . config ( ) ;
15
15
Original file line number Diff line number Diff line change 8
8
renderError ,
9
9
} from "../src/common/utils.js" ;
10
10
import { fetchWakatimeStats } from "../src/fetchers/wakatime-fetcher.js" ;
11
- import { isLocaleAvailable } from "../src/assets/ translations.js" ;
11
+ import { isLocaleAvailable } from "../src/translations.js" ;
12
12
13
13
dotenv . config ( ) ;
14
14
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
parseEmojis ,
12
12
wrapTextMultiline ,
13
13
} from "../common/utils.js" ;
14
- import { repoCardLocales } from "../assets/ translations.js" ;
14
+ import { repoCardLocales } from "../translations.js" ;
15
15
16
16
/**
17
17
* Retrieves the repository description and wraps it to fit the card width.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
measureText ,
11
11
} from "../common/utils.js" ;
12
12
import { getStyles } from "../common/getStyles.js" ;
13
- import { statCardLocales } from "../assets/ translations.js" ;
13
+ import { statCardLocales } from "../translations.js" ;
14
14
15
15
/**
16
16
* Create a stats card text item.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
10
10
lowercaseTrim ,
11
11
measureText ,
12
12
} from "../common/utils.js" ;
13
- import { langCardLocales } from "../assets/ translations.js" ;
13
+ import { langCardLocales } from "../translations.js" ;
14
14
15
15
const DEFAULT_CARD_WIDTH = 300 ;
16
16
const MIN_CARD_WIDTH = 230 ;
Original file line number Diff line number Diff line change 9
9
lowercaseTrim ,
10
10
} from "../common/utils.js" ;
11
11
import { getStyles } from "../common/getStyles.js" ;
12
- import { wakatimeCardLocales } from "../assets/ translations.js" ;
12
+ import { wakatimeCardLocales } from "../translations.js" ;
13
13
14
14
/** Import language colors.
15
15
*
Original file line number Diff line number Diff line change 1
- import { encodeHTML } from ".. /common/utils.js" ;
1
+ import { encodeHTML } from "./common/utils.js" ;
2
2
3
3
/**
4
4
* Retrieves stat card labels in the available locales.
You can’t perform that action at this time.
0 commit comments