Dinesht04 opened a new pull request, #1402:
URL: https://github.com/apache/answer/pull/1402

   fix: #1177 
   
   The video showing working fix:
   
https://github.com/user-attachments/assets/f1130a77-4fcc-4381-a1a9-825c7ae21397
   
   hey @fenbox , sorry for bothering you but could you please review this PR 
and guide or point me towards the resources for the process of adding the 
correct labels for the backend errors and their respective  front-end labels 
since I cannot figure it out. 
   I tried adding 
   `    
     minimum_count:
           other: Not enough tags were entered.
   ` 
   in tag errors in en_US.yaml
   
   and
   `    TagMinCount                      = "error.tag.minimum_count"
   `
   in Reason.go and passed it as the error in case of  tags less than minimum 
tags count and it resulted in this 
   <img width="421" height="143" alt="image" 
src="https://github.com/user-attachments/assets/0e8dfcaa-f8d9-4a2e-94c5-f9eb879a0746";
 />
   
   I am unable to figure out where to add the labels for the error such that 
the translation library picks it . I tried to decode from other values but 
couldn't find anything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to