Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit 9c4e788

Browse files
committed
Update packages
1 parent 118cdc3 commit 9c4e788

31 files changed

+224
-262
lines changed

.pnp.cjs

+106-128
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

app/src/i18n/main.en.fluent

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Position-agreement-unchecked = Confirm that you are posting a vacancy for a Kotlin developer position
2-
Frequency-agreement-unchecked = Confirm that you are not going to ask to publish the same vacancy more than once a month
2+
Frequency-agreement-unchecked = Confirm that you understand the free frequency of posting vacancies
33
Title-is-required = Title is required
44
Location-is-required = Location is required
55
Company-is-required = Company is required

app/src/main.tsx

+27-25
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ declare var _BUILD_TIME: string;
99

1010
console.log("Build:", new Date(_BUILD_TIME).toLocaleString());
1111

12-
const i18n = getBundleForLocale("ru");
12+
const i18n = getBundleForLocale("en");
1313

1414
const initialValues: KotlinJobsFormValues = {
1515
positionAgreement: false,
@@ -47,16 +47,16 @@ function onSubmit(
4747
values: KotlinJobsFormValues,
4848
formikBag: FormikBag<BuildFormProps, KotlinJobsFormValues>
4949
): void {
50-
formikBag.props.callback(`Вакансия: ${values.title}
51-
Локация: ${values.location}
52-
Компания: ${values.company}
53-
Формат работы: ${values.type}
54-
Занятость: ${values.occupation}
55-
Зарплатная вилка: ${values.salary}
50+
formikBag.props.callback(`Vacancy: ${values.title}
51+
Location: ${values.location}
52+
Company: ${values.company}
53+
Workplace: ${values.type}
54+
Employment: ${values.occupation}
55+
Salary fork: ${values.salary}
5656
5757
${values.description}
5858
59-
Контакт: @${values.contact}
59+
Contact: @${values.contact}
6060
`);
6161
formikBag.setSubmitting(false);
6262
scrollToRendered();
@@ -89,35 +89,37 @@ function BuildFormFields(props: FormikProps<KotlinJobsFormValues>) {
8989
return (
9090
<form onSubmit={handleSubmit}>
9191
<div className="field">
92-
<label className="label">Вакансия *</label>
92+
<label className="label">Vacancy *</label>
9393
<div className="control">
9494
<Field component="input" className="input" type="text" name="title" placeholder="Senior Backend Engineer"/>
9595
<ErrorHelper name="title"/>
9696
</div>
9797
</div>
9898

9999
<div className="field">
100-
<label className="label">Локация *</label>
100+
<label className="label">Location *</label>
101101
<div className="control">
102-
<Field className="input" type="text" name="location" placeholder="Украина, Киев"/>
102+
<Field className="input" type="text" name="location" placeholder="Ukraine, Kyiv"/>
103103
<ErrorHelper name="location"/>
104104
</div>
105105
</div>
106106

107107
<div className="field">
108-
<label className="label">Компания *</label>
108+
<label className="label">Company *</label>
109109
<div className="control">
110-
<Field className="input" type="text" name="company" placeholder="KoSolutions (https://kosolutions.com)"/>
110+
<Field className="input" type="text" name="company" placeholder="JetBrains (https://jetbrains.com)"/>
111111
<ErrorHelper name="company"/>
112112
</div>
113113
</div>
114114

115115
<div className="field">
116-
<label className="label">Формат работы</label>
116+
<label className="label">Workplace</label>
117117
<div className="control">
118118
<div className="select">
119119
<Field component="select" name="type">
120120
<option value="Office">Office</option>
121+
<option value="Hybrid">Hybrid</option>
122+
<option value="Flexible">Flexible</option>
121123
<option value="Remote">Remote</option>
122124
</Field>
123125
</div>
@@ -126,7 +128,7 @@ function BuildFormFields(props: FormikProps<KotlinJobsFormValues>) {
126128
</div>
127129

128130
<div className="field">
129-
<label className="label">Занятость</label>
131+
<label className="label">Employment</label>
130132
<div className="control">
131133
<div className="select">
132134
<Field component="select" name="occupation">
@@ -140,15 +142,15 @@ function BuildFormFields(props: FormikProps<KotlinJobsFormValues>) {
140142
</div>
141143

142144
<div className="field">
143-
<label className="label">Зарплатная вилка *</label>
145+
<label className="label">Salary fork *</label>
144146
<div className="control">
145147
<Field className="input" type="text" name="salary" placeholder="2000$-3000$"/>
146148
<ErrorHelper name="salary"/>
147149
</div>
148150
</div>
149151

150152
<div className="field">
151-
<label className="label">Ник в Telegram *</label>
153+
<label className="label">Nickname in Telegram *</label>
152154
<div className="field-body">
153155
<div className="field has-addons">
154156
<p className="control">
@@ -165,25 +167,25 @@ function BuildFormFields(props: FormikProps<KotlinJobsFormValues>) {
165167
</div>
166168

167169
<div className="field">
168-
<label className="label">Описание *</label>
170+
<label className="label">Description *</label>
169171
<div className="control">
170-
<Field component="textarea" name="description" className="textarea" placeholder="Описание в свободной форме"/>
172+
<Field component="textarea" name="description" className="textarea" placeholder="Keep it short and informative. Max 1000 symbols."/>
171173
<ErrorHelper name="description"/>
172174
</div>
173175
</div>
174176

175177
<div className="field">
176178
<label className="checkbox">
177179
<Field component="input" type="checkbox" name="positionAgreement" autoFocus/>
178-
<span style={{paddingLeft: 10}}>Я публикую вакансию на позицию <b>Kotlin</b> разработчика</span>
180+
<span style={{paddingLeft: 10}}>I am posting a vacancy for the position of <b>Kotlin</b> developer</span>
179181
</label>
180182
<ErrorHelper name="positionAgreement"/>
181183
</div>
182184

183185
<div className="field">
184186
<label className="checkbox">
185187
<Field component="input" type="checkbox" name="frequencyAgreement"/>
186-
<span style={{paddingLeft: 10}}>Я соглашаюсь с тем что репост вакансии на бесплатной основе происходит с частотой в один месяц. Цена повторного размещения в течение месяца - 30€, оплата через <a
188+
<span style={{paddingLeft: 10}}>I agree that the repost of the vacancy on a free basis occurs with a frequency of one month. Vacancy re-placement price within a month - 50€, payment via <a
187189
href="https://opencollective.com/kotlin-community">Kotlin Community Telegram OpenCollective</a>.</span>
188190
</label>
189191
<ErrorHelper name="frequencyAgreement"/>
@@ -194,7 +196,7 @@ function BuildFormFields(props: FormikProps<KotlinJobsFormValues>) {
194196
<button type="submit"
195197
className="button is-primary"
196198
disabled={isSubmitting || !isValid || !dirty}>
197-
Сгенерировать
199+
Generate
198200
</button>
199201
</div>
200202
</div>
@@ -249,8 +251,8 @@ function Container() {
249251

250252
</div>
251253
<p>
252-
Пожалуйста заполните все поля формы и
253-
отправьте сгенерирование описание вакансии
254+
Please fill in all fields of the form and
255+
send the generated job description to
254256
<a href="https://t.me/HeapyHop"> @HeapyHop</a>
255257
</p>
256258
</div>
@@ -260,7 +262,7 @@ function Container() {
260262
<div className="content">
261263
{text && (
262264
<React.Fragment>
263-
<p>Скопируйте этот фрагмент и отправьте одному из модераторов</p>
265+
<p>Copy this snippet and send it to one of the moderators</p>
264266
<textarea rows={30} className="textarea" contentEditable="false" value={text}/>
265267
</React.Fragment>
266268
)}

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
"license": "GPL-3.0-only",
99
"dependencies": {
1010
"@fluent/bundle": "^0.17.1",
11-
"bulma": "^0.9.3",
11+
"bulma": "^0.9.4",
1212
"formik": "^2.2.9",
13-
"react": "^17.0.2",
14-
"react-dom": "^17.0.2"
13+
"react": "^18.1.0",
14+
"react-dom": "^18.1.0"
1515
},
1616
"devDependencies": {
17-
"@types/node": "^17.0.21",
18-
"@types/react": "^17.0.40",
19-
"@types/react-dom": "^17.0.13",
20-
"copy-webpack-plugin": "^10.2.4",
17+
"@types/node": "^17.0.34",
18+
"@types/react": "^18.0.9",
19+
"@types/react-dom": "^18.0.4",
20+
"copy-webpack-plugin": "^11.0.0",
2121
"css-loader": "^6.7.1",
2222
"html-webpack-plugin": "^5.5.0",
2323
"mini-css-extract-plugin": "^2.6.0",
2424
"raw-loader": "^4.0.2",
25-
"ts-loader": "^9.2.8",
26-
"typescript": "4.6.2",
27-
"webpack": "^5.70.0",
25+
"ts-loader": "^9.3.0",
26+
"typescript": "4.6.4",
27+
"webpack": "^5.72.1",
2828
"webpack-cli": "^4.9.2"
2929
},
3030
"scripts": {

0 commit comments

Comments
 (0)