Update i18n-tasks to 1.0.4 (#17012)

* Update i18n-tasks to 1.0.4

See changelog
https://github.com/glebm/i18n-tasks/blob/main/CHANGES.md#v104 and
discussion at https://github.com/forem/forem/pull/17003

* Use multiple comment markers for multiline erb comments

This appeases a Parser::SyntaxError raised by the i18n
test (parser-3.1.1.0 gem, via I18n::Tasks::Scanners::ErbAstProcessor).

upstream issue opened with maintainer

* Realign-tags
This commit is contained in:
Daniel Uber 2022-03-25 11:14:14 -05:00 committed by GitHub
parent c5ffa8be92
commit 6a9b58ca81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 7 deletions

View file

@ -121,7 +121,7 @@ group :development do
gem "erb_lint", "~> 0.0.37", require: false # ERB Linter tool
gem "guard", "~> 2.18", require: false # Guard is a command line tool to easily handle events on file system modifications
gem "guard-livereload", "~> 2.5", require: false # Guard::LiveReload automatically reloads your browser when 'view' files are modified
gem "i18n-tasks", "~> 0.9.37" # Helpers to find and manage missing and unused translations
gem "i18n-tasks", "~> 1.0.4" # Helpers to find and manage missing and unused translations
gem "listen", "~> 3.7", require: false # Helps 'listen' to file system modifications events (also used by other gems like guard)
gem "memory_profiler", "~> 1.0", require: false # Memory profiling routines for Ruby 2.3+
gem "solargraph", "~> 0.44", require: false # For LSP support (such as symbol renaming, documentation lookup)

View file

@ -386,9 +386,10 @@ GEM
concurrent-ruby (~> 1.0)
i18n-js (3.9.1)
i18n (>= 0.6.6)
i18n-tasks (0.9.37)
i18n-tasks (1.0.4)
activesupport (>= 4.0.2)
ast (>= 2.1.0)
better_html (~> 1.0)
erubi
highline (>= 2.0.0)
i18n
@ -603,7 +604,7 @@ GEM
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
rails-i18n (7.0.1)
rails-i18n (7.0.3)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 8)
railties (6.1.5)
@ -956,7 +957,7 @@ DEPENDENCIES
httpclient (~> 2.8.3)
hypershield (~> 0.2.2)
i18n-js (~> 3.9.1)
i18n-tasks (~> 0.9.37)
i18n-tasks (~> 1.0.4)
imgproxy (~> 2.0)
inline_svg (~> 1.8)
jbuilder (~> 2.11)

View file

@ -57,7 +57,7 @@
</div>
<%# new or less active users that don't have a page worth of notifications
won't be shown the "load more" button %>
# won't be shown the "load more" button %>
<% if @notifications.size >= @initial_page_size %>
<button id="load-more-button" type="button" class="crayons-btn crayons-btn--secondary crayons-btn--l my-6 w-100">
<%= t("views.notifications.load") %>

View file

@ -8,8 +8,8 @@
<% end %>
<%# given the probability that organizations can have lots of users,
here we're using the any?/find_each pattern to avoid loading possibly
too many objects in memory %>
# here we're using the any?/find_each pattern to avoid loading possibly
# too many objects in memory %>
<% if @organization.users.any? %>
<div class="widget">
<div class="widget-suggested-follows-container">

Binary file not shown.

BIN
vendor/cache/i18n-tasks-1.0.4.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/rails-i18n-7.0.3.gem vendored Normal file

Binary file not shown.