AdvancedCustomFields / AdvancedCustomFields/acf

Advanced Custom fields is having text domain issues

Open
#106 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

`

  • WARNING: Found a translation function that is missing a text-domain. Function _n, with the arguments 'layout', 'layouts'

  • WARNING: Found a translation function that is missing a text-domain. Function _n, with the arguments '%s requires at least %s selection', '%s requires at least %s selections', min, 'acf' in file: /home/zk2ba8xn663w/public_html/wp-content/themes/ariva/inc/fieldgen/acf/pro/fields/class-acf-field-gallery.php

  • WARNING: Found a translation function that is missing a text-domain. Function _n, with the arguments '%s requires at least %s selection', '%s requires at least %s selections', min, 'acf' in file: /home/zk2ba8xn663w/public_html/wp-content/themes/ariva/inc/fieldgen/acf/includes/fields/class-acf-field-relationship.php

  • WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments 'btn'

  • WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments 'Bulk Actions'

  • WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments

  • WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments 'Apply'

  • WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments '%s'

I have included the the plugin in a theme and above issues where found , Can these be fixed?
Also empty alt="" in the plugin file?
Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported translation calls in class-acf-field-gallery.php and class-acf-field-relationship.php, then search the plugin for the other _n, _e, and __ warnings. Verify the missing text domains are resolved and inspect the plugin’s empty alt attributes to determine which need addressing.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
accessibility, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.