Problem/Motivation
The user interface standards for empty text in a table state:
Use Text pattern "No [things] available. Add [a thing]".
The "Add [a thing]" link is the same action as the Local action link on the same page.
As far as I can see, core not only uses this text pattern inconsistently, it also doesn't follow these guidelines.
Proposed resolution
As a first attempt at making this text consistent, I think we should attempt to update the first part of the text pattern: "No [things] available". The second part ("Add [a thing]") should be avoided for now because a) we're probably already going to break enough tests with this initial change, and b) there is already an attempt to solve this.
Remaining tasks
Identify and update all areas that don't follow the standards. Common patterns include "There are no [things] yet." and "No [things] are present yet."-- It's probably not vital that every case is covered, but I've grepped for these common patterns, as well as looking for occurrences of '#empty' in code (where a table is being themed), so I think that should be most of them.Update the numerous tests this will probably break.- Resolve any edge-cases that may not fit within the guidelines. (listed in comment below for review/discussion)
User interface changes
Text changes to suit guidelines.