From 049381b284c671d633182e00fd1570119f2e2c74 Mon Sep 17 00:00:00 2001 From: masarakki Date: Thu, 19 Oct 2017 20:51:38 +0900 Subject: [PATCH 1/3] remove-duplicated-jest-config (#5465) --- package.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/package.json b/package.json index 594e42475b..df74547587 100644 --- a/package.json +++ b/package.json @@ -134,22 +134,5 @@ }, "optionalDependencies": { "fsevents": "*" - }, - "jest": { - "projects": [ - "/app/javascript/mastodon" - ], - "testPathIgnorePatterns": [ - "/node_modules/", - "/vendor/", - "/config/", - "/log/", - "/public/", - "/tmp/" - ], - "setupFiles": [ - "raf/polyfill" - ], - "setupTestFrameworkScriptFile": "/app/javascript/mastodon/test_setup.js" } } From 8392ddbf87f5522c445573c50e4f21d690172bc0 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 19 Oct 2017 09:27:55 -0700 Subject: [PATCH 2/3] Remove unnecessary translateZ(0) when doing scale() (#5473) --- .../mastodon/features/compose/components/upload.js | 2 +- .../compose/containers/sensitive_button_container.js | 2 +- .../mastodon/features/ui/components/upload_area.js | 2 +- app/javascript/styles/mastodon/components.scss | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/javascript/mastodon/features/compose/components/upload.js b/app/javascript/mastodon/features/compose/components/upload.js index 5d8d66cf76..6ab76492a9 100644 --- a/app/javascript/mastodon/features/compose/components/upload.js +++ b/app/javascript/mastodon/features/compose/components/upload.js @@ -68,7 +68,7 @@ export default class Upload extends ImmutablePureComponent {
{({ scale }) => ( -
+
diff --git a/app/javascript/mastodon/features/compose/containers/sensitive_button_container.js b/app/javascript/mastodon/features/compose/containers/sensitive_button_container.js index e4bd5a7431..c8e74f5a1a 100644 --- a/app/javascript/mastodon/features/compose/containers/sensitive_button_container.js +++ b/app/javascript/mastodon/features/compose/containers/sensitive_button_container.js @@ -47,7 +47,7 @@ class SensitiveButton extends React.PureComponent { 'compose-form__sensitive-button--visible': visible, }); return ( -
+
-
+
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 5211489f7a..ead1c8866c 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -3008,21 +3008,21 @@ button.icon-button.active i.fa-retweet { } .fa-search { - transform: translateZ(0) rotate(90deg); + transform: rotate(90deg); &.active { pointer-events: none; - transform: translateZ(0) rotate(0deg); + transform: rotate(0deg); } } .fa-times-circle { top: 11px; - transform: translateZ(0) rotate(0deg); + transform: rotate(0deg); cursor: pointer; &.active { - transform: translateZ(0) rotate(90deg); + transform: rotate(90deg); } &:hover { From fdb0848e08f34ee967ae2d0ad24cd994e996169b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Miko=C5=82ajczak?= Date: Sun, 22 Oct 2017 01:34:40 +0200 Subject: [PATCH 3/3] i18n: Update Polish Translation (#5494) --- app/javascript/mastodon/locales/pl.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/mastodon/locales/pl.json b/app/javascript/mastodon/locales/pl.json index c0776dfc9a..cf76f1b1fa 100644 --- a/app/javascript/mastodon/locales/pl.json +++ b/app/javascript/mastodon/locales/pl.json @@ -159,11 +159,11 @@ "privacy.public.short": "Publiczny", "privacy.unlisted.long": "Niewidoczny na publicznych osiach czasu", "privacy.unlisted.short": "Niewidoczny", - "relative_time.days": "{number}d", - "relative_time.hours": "{number}h", - "relative_time.just_now": "now", - "relative_time.minutes": "{number}m", - "relative_time.seconds": "{number}s", + "relative_time.days": "{number} dni", + "relative_time.hours": "{number} godz.", + "relative_time.just_now": "teraz", + "relative_time.minutes": "{number} min.", + "relative_time.seconds": "{number} s.", "reply_indicator.cancel": "Anuluj", "report.placeholder": "Dodatkowe komentarze", "report.submit": "Wyƛlij",